This class also used in (click to expand):
 
 
 
 
 
                                                AnalyticDataViewFilter.addAnd()
                                            
 
 
 
 
                                                AnalyticDataViewFilter.addBetween(String, String, String)
                                            
 
 
 
 
                                                AnalyticDataViewFilter.addBetweenDates(String, Date, Date)
                                            
 
 
 
 
                                                AnalyticDataViewFilter.addEqual(String, String)
                                            
 
 
 
 
                                                AnalyticDataViewFilter.addGreaterThan(String, String)
                                            
 
 
 
 
                                                AnalyticDataViewFilter.addGreaterThanDate(String, Date)
                                            
 
 
 
 
                                                AnalyticDataViewFilter.addGreaterThanEqualTo(String, String)
                                            
 
 
 
 
                                                AnalyticDataViewFilter.addGreaterThanEqualToDate(String, Date)
                                            
 
 
 
 
                                                AnalyticDataViewFilter.addGreaterThanGeoDistance(String, String, double, double, double, String)
                                            
 
 
 
 
                                                AnalyticDataViewFilter.addIn(String, String[])
                                            
 
 
 
 
                                                AnalyticDataViewFilter.addIsNull(String)
                                            
 
 
 
 
                                                AnalyticDataViewFilter.addLessThan(String, String)
                                            
 
 
 
 
                                                AnalyticDataViewFilter.addLessThanDate(String, Date)
                                            
 
 
 
 
                                                AnalyticDataViewFilter.addLessThanEqualTo(String, String)
                                            
 
 
 
 
                                                AnalyticDataViewFilter.addLessThanEqualToDate(String, Date)
                                            
 
 
 
 
                                                AnalyticDataViewFilter.addLessThanGeoDistance(String, String, double, double, double, String)
                                            
 
 
 
 
                                                AnalyticDataViewFilter.addLike(String, String)
                                            
 
 
 
 
                                                AnalyticDataViewFilter.addNotEqual(String, String)
                                            
 
 
 
 
                                                AnalyticDataViewFilter.addNotIn(String, String[])
                                            
 
 
 
 
                                                AnalyticDataViewFilter.addNotLike(String, String)
                                            
 
 
 
 
                                                AnalyticDataViewFilter.addNotNull(String)
                                            
 
 
 
 
                                                AnalyticDataViewFilter.addOr()
                                            
 
 
 
 
                                                AnalyticDataViewFilter.beginGroup()
                                            
 
 
 
 
                                                AnalyticDataViewFilter.enableFastPaging(int, int)
                                            
 
 
 
 
                                                AnalyticDataViewFilter.enablePaging(int, int)
                                            
 
 
 
 
                                                AnalyticDataViewFilter.endGroup()
                                            
 
 
 
 
                                                AnalyticDataViewFilter.setFirstRecord(int)
                                            
 
 
 
 
                                                AnalyticDataViewFilter.setMaxPageSize()
                                            
 
 
 
 
                                                AnalyticDataViewFilter.setPageSize(int)
                                            
 
 
 
 
                                                AnalyticDataViewFilter.setQueryTimeout(int)
                                            
 
 
 
 
                                                AnalyticDataViewFilter.sortAscending(String)
                                            
 
 
 
 
                                                AnalyticDataViewFilter.sortDescending(String)
                                            
 
 
 
 
                                                DataViewBuilder.getCriteria(String)
                                            
 
 
 
 
                                                DataViewFilter.addAnd()
                                            
 
 
 
 
                                                DataViewFilter.addBetween(String, String, String)
                                            
 
 
 
 
                                                DataViewFilter.addBetweenDates(String, Date, Date)
                                            
 
 
 
 
                                                DataViewFilter.addEqual(String, String)
                                            
 
 
 
 
                                                DataViewFilter.addGreaterThan(String, String)
                                            
 
 
 
 
                                                DataViewFilter.addGreaterThanDate(String, Date)
                                            
 
 
 
 
                                                DataViewFilter.addGreaterThanEqualTo(String, String)
                                            
 
 
 
 
                                                DataViewFilter.addGreaterThanEqualToDate(String, Date)
                                            
 
 
 
 
                                                DataViewFilter.addGreaterThanGeoDistance(String, String, double, double, double, String)
                                            
 
 
 
 
                                                DataViewFilter.addIn(String, String[])
                                            
 
 
 
 
                                                DataViewFilter.addIsNull(String)
                                            
 
 
 
 
                                                DataViewFilter.addLessThan(String, String)
                                            
 
 
 
 
                                                DataViewFilter.addLessThanDate(String, Date)
                                            
 
 
 
 
                                                DataViewFilter.addLessThanEqualTo(String, String)
                                            
 
 
 
 
                                                DataViewFilter.addLessThanEqualToDate(String, Date)
                                            
 
 
 
 
                                                DataViewFilter.addLessThanGeoDistance(String, String, double, double, double, String)
                                            
 
 
 
 
                                                DataViewFilter.addLike(String, String)
                                            
 
 
 
 
                                                DataViewFilter.addNotEqual(String, String)
                                            
 
 
 
 
                                                DataViewFilter.addNotIn(String, String[])
                                            
 
 
 
 
                                                DataViewFilter.addNotLike(String, String)
                                            
 
 
 
 
                                                DataViewFilter.addNotNull(String)
                                            
 
 
 
 
                                                DataViewFilter.addOr()
                                            
 
 
 
 
                                                DataViewFilter.beginGroup()
                                            
 
 
 
 
                                                DataViewFilter.enableFastPaging(int, int)
                                            
 
 
 
 
                                                DataViewFilter.enablePaging(int, int)
                                            
 
 
 
 
                                                DataViewFilter.endGroup()
                                            
 
 
 
 
                                                DataViewFilter.setFirstRecord(int)
                                            
 
 
 
 
                                                DataViewFilter.setMaxPageSize()
                                            
 
 
 
 
                                                DataViewFilter.setPageSize(int)
                                            
 
 
 
 
                                                DataViewFilter.setQueryTimeout(int)
                                            
 
 
 
 
                                                DataViewFilter.sortAscending(String)
                                            
 
 
 
 
                                                DataViewFilter.sortDescending(String)
                                            
 
 
 
 
                                                SystemDataViewFilter.addAnd()
                                            
 
 
 
 
                                                SystemDataViewFilter.addBetween(String, String, String)
                                            
 
 
 
 
                                                SystemDataViewFilter.addBetweenDates(String, Date, Date)
                                            
 
 
 
 
                                                SystemDataViewFilter.addEqual(String, String)
                                            
 
 
 
 
                                                SystemDataViewFilter.addGreaterThan(String, String)
                                            
 
 
 
 
                                                SystemDataViewFilter.addGreaterThanDate(String, Date)
                                            
 
 
 
 
                                                SystemDataViewFilter.addGreaterThanEqualTo(String, String)
                                            
 
 
 
 
                                                SystemDataViewFilter.addGreaterThanEqualToDate(String, Date)
                                            
 
 
 
 
                                                SystemDataViewFilter.addGreaterThanGeoDistance(String, String, double, double, double, String)
                                            
 
 
 
 
                                                SystemDataViewFilter.addIn(String, String[])
                                            
 
 
 
 
                                                SystemDataViewFilter.addIsNull(String)
                                            
 
 
 
 
                                                SystemDataViewFilter.addLessThan(String, String)
                                            
 
 
 
 
                                                SystemDataViewFilter.addLessThanDate(String, Date)
                                            
 
 
 
 
                                                SystemDataViewFilter.addLessThanEqualTo(String, String)
                                            
 
 
 
 
                                                SystemDataViewFilter.addLessThanEqualToDate(String, Date)
                                            
 
 
 
 
                                                SystemDataViewFilter.addLessThanGeoDistance(String, String, double, double, double, String)
                                            
 
 
 
 
                                                SystemDataViewFilter.addLike(String, String)
                                            
 
 
 
 
                                                SystemDataViewFilter.addNotEqual(String, String)
                                            
 
 
 
 
                                                SystemDataViewFilter.addNotIn(String, String[])
                                            
 
 
 
 
                                                SystemDataViewFilter.addNotLike(String, String)
                                            
 
 
 
 
                                                SystemDataViewFilter.addNotNull(String)
                                            
 
 
 
 
                                                SystemDataViewFilter.addOr()
                                            
 
 
 
 
                                                SystemDataViewFilter.beginGroup()
                                            
 
 
 
 
                                                SystemDataViewFilter.enableFastPaging(int, int)
                                            
 
 
 
 
                                                SystemDataViewFilter.enablePaging(int, int)
                                            
 
 
 
 
                                                SystemDataViewFilter.endGroup()
                                            
 
 
 
 
                                                SystemDataViewFilter.setFirstRecord(int)
                                            
 
 
 
 
                                                SystemDataViewFilter.setMaxPageSize()
                                            
 
 
 
 
                                                SystemDataViewFilter.setPageSize(int)
                                            
 
 
 
 
                                                SystemDataViewFilter.setQueryTimeout(int)
                                            
 
 
 
 
                                                SystemDataViewFilter.sortAscending(String)
                                            
 
 
 
 
                                                SystemDataViewFilter.sortDescending(String)
                                            
 
 
  
  
 
 
 
 
 
 
 
 
 
 | DataViewCriteria | addAnd() Adds an AND operator to the query. | 
 
 
 | DataViewCriteria | addBetween(String column, String lower, String higher) Include records where column is between and includes the two constraints.  The values will be cast to the correct type.  The behavior depends on the type of data being operated on.  Dates without a time value will be treated as midnight, so between 11-12-2008 and 11-13-2008 will return all entries on 11-12-2008.  To include those for 11-13-2008 you would use 11-12-2008 and 11-14-2008 or 11-12-2008 and 11-13-2008 23:59.  For string comparisons, between 'A' and 'C' would include 'A', 'B', and 'C' but not 'D'.  For numbers, the end points are also inclusive: between 1 and 5 will return 1,2,3,4 and 5 but not 6. | 
 
 
 | DataViewCriteria | addBetweenDates(String column, Date lowerDate, Date higherDate) Include records where column is between the two dates.  Dates without a time value will be treated as midnight, so between 11-12-2008 and 11-13-2008 will return all entries on 11-12-2008.  To include those for 11-13-2008 you would use 11-12-2008 and 11-14-2008 or 11-12-2008 and 11-13-2008 23:59. | 
 
 
 | DataViewCriteria | addEqual(String column, String value) Include records where column equals value.  The value will be cast to the correct type. | 
 
 
 | DataViewCriteria | addGreaterThan(String column, String value) Include records where column is greater than the value.  The values will be cast to the correct type. | 
 
 
 | DataViewCriteria | addGreaterThanDate(String column, Date date) Include records where column is greater than the date. | 
 
 
 | DataViewCriteria | addGreaterThanEqualTo(String column, String value) Include records where column is greater than or equal to the value.  The values will be cast to the correct type. | 
 
 
 | DataViewCriteria | addGreaterThanEqualToDate(String column, Date date) Include records where column is greater than or equal to the date. | 
 
 
 | DataViewCriteria | addGreaterThanGeoDistance(String latColumn, String lonColumn, double latitude, double longitude, double distance, String unit) Returns rows where the geo distance from the given lat/lon is greater than or equal to the provided distance. | 
 
 
 | DataViewCriteria | addIn(String columnName, String[] arrayOfIds) Adds an 'IN' clause to the query | 
 
 
 | DataViewCriteria | addIsNull(String column) Include records where column specified is null | 
 
 
 | DataViewCriteria | addLessThan(String column, String value) Include records where column is less than the value.  The values will be cast to the correct type. | 
 
 
 | DataViewCriteria | addLessThanDate(String column, Date date) Include records where column is less than the date. | 
 
 
 | DataViewCriteria | addLessThanEqualTo(String column, String value) Include records where column is less than or equal to the value.  The values will be cast to the correct type. | 
 
 
 | DataViewCriteria | addLessThanEqualToDate(String column, Date date) Include records where column is less than or equal to the date. | 
 
 
 | DataViewCriteria | addLessThanGeoDistance(String latColumn, String lonColumn, double latitude, double longitude, double distance, String unit) Returns rows where the geo distance from the given lat/lon is less than or equal to the provided distance. | 
 
 
 | DataViewCriteria | addLike(String column, String value) Include records where column is like the value.  The value will be cast to the correct type. | 
 
 
 | DataViewCriteria | addNotEqual(String column, String value) Include records where column is not equal to the value.  The value will be cast to the correct type. | 
 
 
 | DataViewCriteria | addNotIn(String columnName, String[] arrayOfIds) Adds an 'NOT IN' clause to the query | 
 
 
 | DataViewCriteria | addNotLike(String column, String value) Include records where column is not like the value.  The value will be cast to the correct type. | 
 
 
 | DataViewCriteria | addNotNull(String column) Include records where column specified is not null | 
 
 
 | DataViewCriteria | addOr() Adds an OR operator to the query. | 
 
 
 | DataViewCriteria | beginGroup() Begins a group of statements. | 
 
 
 | DataViewCriteria | enableFastPaging(int pageNumber, int pageSize) Sets firstResult based on the page size and page number (if greater than 0) and enables paging (if countLimit greater than 0).  This will force inquiry to determine if there are additional rows beyond this page but will not inspect the entire database.  See DataViewList.getPagingInfo(). | 
 
 
 | DataViewCriteria | enablePaging(int pageNumber, int pageSize) Sets firstResult based on the page size and page number and enables paging.  This will force inquiry into the total number of records that match the filter and can be a performance hit on tables with a large amount of rows.  Consider using enableFastPaging on larger datasets.  See DataViewList.getPagingInfo(). | 
 
 
 | DataViewCriteria | endGroup() Ends a group of statements. | 
 
 
 |  | setDateFormat(String pattern) Sets the date pattern for date strings used in criteria. | 
 
 
 | DataViewCriteria | setFirstRecord(int firstRecord) Set the first record to return. | 
 
 
 | DataViewCriteria | setMaxPageSize() Set the page size to the maximum allowed by the key. | 
 
 
 | DataViewCriteria | setPageSize(int size) Set the page size (max 1000 or limit controlled by the activation key, min 1, default 100). See also setMaxPageSize. | 
 
 
 | DataViewCriteria | setQueryTimeout(int timeout) Sets the timeout for the query.  By default this is 10 seconds and the maximum is defined by the cloud configuration. | 
 
 
 | DataViewCriteria | sortAscending(String column) Sorts the results in ascending order on the given column. | 
 
 
 | DataViewCriteria | sortDescending(String column) Sorts the results in descending order on the given column. | 
 
 
 | String | toString() Returns a description of this object. | 
 
 
 Method Detail
 
 
 
 DataViewCriteria addAnd()
 
 
 
                                    Adds an AND operator to the query.
                                
 
 
 
 Returns: 
                                        
 
 DataViewCriteria
 
 
 
 
 
 
 
 
 Since:
                                    10-11-2010
                                
 
 
 
 
 
 
 
 DataViewCriteria addBetween(String column, String lower, String higher)
 
 
 
                                    Include records where column is between and includes the two constraints.  The values will be cast to the correct type.  The behavior depends on the type of data being operated on.  Dates without a time value will be treated as midnight, so between 11-12-2008 and 11-13-2008 will return all entries on 11-12-2008.  To include those for 11-13-2008 you would use 11-12-2008 and 11-14-2008 or 11-12-2008 and 11-13-2008 23:59.  For string comparisons, between 'A' and 'C' would include 'A', 'B', and 'C' but not 'D'.  For numbers, the end points are also inclusive: between 1 and 5 will return 1,2,3,4 and 5 but not 6.
                                
 
 
 Parameters:
 
 
 
 - 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    column
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
- 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    lower
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
- 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    higher
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
 Returns: 
                                        
 
 DataViewCriteria
 
 
 
 
 
 
 
 
 Since:
                                    10-11-2010
                                
 
 
 
 
 
 
 
 DataViewCriteria addBetweenDates(String column, Date lowerDate, Date higherDate)
 
 
 
                                    Include records where column is between the two dates.  Dates without a time value will be treated as midnight, so between 11-12-2008 and 11-13-2008 will return all entries on 11-12-2008.  To include those for 11-13-2008 you would use 11-12-2008 and 11-14-2008 or 11-12-2008 and 11-13-2008 23:59.
                                
 
 
 Parameters:
 
 
 
 - 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    column
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
- 
 
 
 
                                                            Date
                                                        
 
                                                     
                                                    lowerDate
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
- 
 
 
 
                                                            Date
                                                        
 
                                                     
                                                    higherDate
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
 Returns: 
                                        
 
 DataViewCriteria
 
 
 
 
 
 
 
 
 Since:
                                    06-09-2011
                                
 
 
 
 
 
 
 
 DataViewCriteria addEqual(String column, String value)
 
 
 
                                    Include records where column equals value.  The value will be cast to the correct type.
                                
 
 
 Parameters:
 
 
 
 - 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    column
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
- 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    value
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
 Returns: 
                                        
 
 DataViewCriteria
 
 
 
 
 
 
 
 
 Since:
                                    10-11-2010
                                
 
 
 
 
 
 
 
 DataViewCriteria addGreaterThan(String column, String value)
 
 
 
                                    Include records where column is greater than the value.  The values will be cast to the correct type.
                                
 
 
 Parameters:
 
 
 
 - 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    column
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
- 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    value
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
 Returns: 
                                        
 
 DataViewCriteria
 
 
 
 
 
 
 
 
 Since:
                                    10-11-2010
                                
 
 
 
 
 
 
 
 DataViewCriteria addGreaterThanDate(String column, Date date)
 
 
 
                                    Include records where column is greater than the date.
                                
 
 
 Parameters:
 
 
 
 - 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    column
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
- 
 
 
 
                                                            Date
                                                        
 
                                                     
                                                    date
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
 Returns: 
                                        
 
 DataViewCriteria
 
 
 
 
 
 
 
 
 Since:
                                    06-09-2011
                                
 
 
 
 
 
 
 
 DataViewCriteria addGreaterThanEqualTo(String column, String value)
 
 
 
                                    Include records where column is greater than or equal to the value.  The values will be cast to the correct type.
                                
 
 
 Parameters:
 
 
 
 - 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    column
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
- 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    value
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
 Returns: 
                                        
 
 DataViewCriteria
 
 
 
 
 
 
 
 
 Since:
                                    10-11-2010
                                
 
 
 
 
 
 
 
 DataViewCriteria addGreaterThanEqualToDate(String column, Date date)
 
 
 
                                    Include records where column is greater than or equal to the date.
                                
 
 
 Parameters:
 
 
 
 - 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    column
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
- 
 
 
 
                                                            Date
                                                        
 
                                                     
                                                    date
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
 Returns: 
                                        
 
 DataViewCriteria
 
 
 
 
 
 
 
 
 Since:
                                    06-09-2011
                                
 
 
 
 
 
 
 
 DataViewCriteria addGreaterThanGeoDistance(String latColumn, String lonColumn, double latitude, double longitude, double distance, String unit)
 
 
 
                                    Returns rows where the geo distance from the given lat/lon is greater than or equal to the provided distance.
                                
 
 
 Parameters:
 
 
 
 - 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    latColumn
                                                    
                                                         - latitude column name.
                                                    
 
 
 
 
- 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    lonColumn
                                                    
                                                         - longitude column name.
                                                    
 
 
 
 
- 
 
 
 
                                                            double
                                                        
 
                                                     
                                                    latitude
                                                    
                                                         - from latitude location.
                                                    
 
 
 
 
- 
 
 
 
                                                            double
                                                        
 
                                                     
                                                    longitude
                                                    
                                                         - from longitude location.
                                                    
 
 
 
 
- 
 
 
 
                                                            double
                                                        
 
                                                     
                                                    distance
                                                    
                                                         - distance in units.
                                                    
 
 
 
 
- 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    unit
                                                    
                                                         - Unit of distance (km=kilometers, m=miles).
                                                    
 
 
 
                                                        Allowed values: km, m.
                                                    
 
 Returns: 
                                        
 
 DataViewCriteria
 
 
 
 
 
 
 
 
 Since:
                                    05-21-2025
                                
 
 
 
 
 
 
 
 DataViewCriteria addIn(String columnName, String[] arrayOfIds)
 
 
 
                                    Adds an 'IN' clause to the query
                                
 
 
 Parameters:
 
 
 
 - 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    columnName
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
- 
 
 
 
                                                            String[]
                                                        
 
                                                     
                                                    arrayOfIds
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
 Returns: 
                                        
 
 DataViewCriteria
 
 
 
 
 
 
 
 
 Since:
                                    07-05-2023
                                
 
 
 
 
 
 
 
 DataViewCriteria addIsNull(String column)
 
 
 
                                    Include records where column specified is null
                                
 
 
 Parameters:
 
 
 
 - 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    column
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
 Returns: 
                                        
 
 DataViewCriteria
 
 
 
 
 
 
 
 
 Since:
                                    10-11-2010
                                
 
 
 
 
 
 
 
 DataViewCriteria addLessThan(String column, String value)
 
 
 
                                    Include records where column is less than the value.  The values will be cast to the correct type.
                                
 
 
 Parameters:
 
 
 
 - 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    column
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
- 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    value
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
 Returns: 
                                        
 
 DataViewCriteria
 
 
 
 
 
 
 
 
 Since:
                                    10-11-2010
                                
 
 
 
 
 
 
 
 DataViewCriteria addLessThanDate(String column, Date date)
 
 
 
                                    Include records where column is less than the date.
                                
 
 
 Parameters:
 
 
 
 - 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    column
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
- 
 
 
 
                                                            Date
                                                        
 
                                                     
                                                    date
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
 Returns: 
                                        
 
 DataViewCriteria
 
 
 
 
 
 
 
 
 Since:
                                    06-09-2011
                                
 
 
 
 
 
 
 
 DataViewCriteria addLessThanEqualTo(String column, String value)
 
 
 
                                    Include records where column is less than or equal to the value.  The values will be cast to the correct type.
                                
 
 
 Parameters:
 
 
 
 - 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    column
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
- 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    value
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
 Returns: 
                                        
 
 DataViewCriteria
 
 
 
 
 
 
 
 
 Since:
                                    10-11-2010
                                
 
 
 
 
 
 
 
 DataViewCriteria addLessThanEqualToDate(String column, Date date)
 
 
 
                                    Include records where column is less than or equal to the date.
                                
 
 
 Parameters:
 
 
 
 - 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    column
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
- 
 
 
 
                                                            Date
                                                        
 
                                                     
                                                    date
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
 Returns: 
                                        
 
 DataViewCriteria
 
 
 
 
 
 
 
 
 Since:
                                    06-09-2011
                                
 
 
 
 
 
 
 
 DataViewCriteria addLessThanGeoDistance(String latColumn, String lonColumn, double latitude, double longitude, double distance, String unit)
 
 
 
                                    Returns rows where the geo distance from the given lat/lon is less than or equal to the provided distance.
                                
 
 
 Parameters:
 
 
 
 - 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    latColumn
                                                    
                                                         - latitude column name.
                                                    
 
 
 
 
- 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    lonColumn
                                                    
                                                         - longitude column name.
                                                    
 
 
 
 
- 
 
 
 
                                                            double
                                                        
 
                                                     
                                                    latitude
                                                    
                                                         - from latitude location.
                                                    
 
 
 
 
- 
 
 
 
                                                            double
                                                        
 
                                                     
                                                    longitude
                                                    
                                                         - from longitude location.
                                                    
 
 
 
 
- 
 
 
 
                                                            double
                                                        
 
                                                     
                                                    distance
                                                    
                                                         - distance in units.
                                                    
 
 
 
 
- 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    unit
                                                    
                                                         - Unit of distance (km=kilometers, m=miles).
                                                    
 
 
 
                                                        Allowed values: km, m.
                                                    
 
 Returns: 
                                        
 
 DataViewCriteria
 
 
 
 
 
 
 
 
 Since:
                                    05-21-2025
                                
 
 
 
 
 
 
 
 DataViewCriteria addLike(String column, String value)
 
 
 
                                    Include records where column is like the value.  The value will be cast to the correct type.
                                
 
 
 Parameters:
 
 
 
 - 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    column
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
- 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    value
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
 Returns: 
                                        
 
 DataViewCriteria
 
 
 
 
 
 
 
 
 Since:
                                    10-11-2010
                                
 
 
 
 
 
 
 
 DataViewCriteria addNotEqual(String column, String value)
 
 
 
                                    Include records where column is not equal to the value.  The value will be cast to the correct type.
                                
 
 
 Parameters:
 
 
 
 - 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    column
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
- 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    value
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
 Returns: 
                                        
 
 DataViewCriteria
 
 
 
 
 
 
 
 
 Since:
                                    10-11-2010
                                
 
 
 
 
 
 
 
 DataViewCriteria addNotIn(String columnName, String[] arrayOfIds)
 
 
 
                                    Adds an 'NOT IN' clause to the query
                                
 
 
 Parameters:
 
 
 
 - 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    columnName
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
- 
 
 
 
                                                            String[]
                                                        
 
                                                     
                                                    arrayOfIds
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
 Returns: 
                                        
 
 DataViewCriteria
 
 
 
 
 
 
 
 
 Since:
                                    07-05-2023
                                
 
 
 
 
 
 
 
 DataViewCriteria addNotLike(String column, String value)
 
 
 
                                    Include records where column is not like the value.  The value will be cast to the correct type.
                                
 
 
 Parameters:
 
 
 
 - 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    column
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
- 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    value
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
 Returns: 
                                        
 
 DataViewCriteria
 
 
 
 
 
 
 
 
 Since:
                                    10-11-2010
                                
 
 
 
 
 
 
 
 DataViewCriteria addNotNull(String column)
 
 
 
                                    Include records where column specified is not null
                                
 
 
 Parameters:
 
 
 
 - 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    column
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
 Returns: 
                                        
 
 DataViewCriteria
 
 
 
 
 
 
 
 
 Since:
                                    10-11-2010
                                
 
 
 
 
 
 
 
 DataViewCriteria addOr()
 
 
 
                                    Adds an OR operator to the query.
                                
 
 
 
 Returns: 
                                        
 
 DataViewCriteria
 
 
 
 
 
 
 
 
 Since:
                                    10-11-2010
                                
 
 
 
 
 
 
 
 DataViewCriteria beginGroup()
 
 
 
                                    Begins a group of statements.
                                
 
 
 
 Returns: 
                                        
 
 DataViewCriteria
 
 
 
 
 
 
 
 
 Since:
                                    10-11-2010
                                
 
 
 
 
 
 
 
 DataViewCriteria enableFastPaging(int pageNumber, int pageSize)
 
 
 
                                    Sets firstResult based on the page size and page number (if greater than 0) and enables paging (if countLimit greater than 0).  This will force inquiry to determine if there are additional rows beyond this page but will not inspect the entire database.  See DataViewList.getPagingInfo().
                                
 
 
 Parameters:
 
 
 
 - 
 
 
 
                                                            int
                                                        
 
                                                     
                                                    pageNumber
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
- 
 
 
 
                                                            int
                                                        
 
                                                     
                                                    pageSize
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
 Returns: 
                                        
 
 DataViewCriteria
 
 
 
 
 
 
 
 
 Since:
                                    06-20-2024
                                
 
 
 
 
 
 
 
 DataViewCriteria enablePaging(int pageNumber, int pageSize)
 
 
 
                                    Sets firstResult based on the page size and page number and enables paging.  This will force inquiry into the total number of records that match the filter and can be a performance hit on tables with a large amount of rows.  Consider using enableFastPaging on larger datasets.  See DataViewList.getPagingInfo().
                                
 
 
 Parameters:
 
 
 
 - 
 
 
 
                                                            int
                                                        
 
                                                     
                                                    pageNumber
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
- 
 
 
 
                                                            int
                                                        
 
                                                     
                                                    pageSize
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
 Returns: 
                                        
 
 DataViewCriteria
 
 
 
 
 
 
 
 
 Since:
                                    01-03-2014
                                
 
 
 
 
 
 
 
 DataViewCriteria endGroup()
 
 
 
                                    Ends a group of statements.
                                
 
 
 
 Returns: 
                                        
 
 DataViewCriteria
 
 
 
 
 
 
 
 
 Since:
                                    10-11-2010
                                
 
 
 
 
 
 
 
 setDateFormat(String pattern)
 
 
 
                                    Sets the date pattern for date strings used in criteria.
                                
 
 
 Parameters:
 
 
 
 
 
 
 
 
 Since:
                                    06-09-2011
                                
 
 
 
 
 
 
 
 DataViewCriteria setFirstRecord(int firstRecord)
 
 
 
                                    Set the first record to return.
                                
 
 
 Parameters:
 
 
 
 
 
 
 Returns: 
                                        
 
 DataViewCriteria
 
 
 
 
 
 
 
 
 Since:
                                    10-11-2010
                                
 
 
 
 
 
 
 
 DataViewCriteria setMaxPageSize()
 
 
 
                                    Set the page size to the maximum allowed by the key.
                                
 
 
 
 Returns: 
                                        
 
 DataViewCriteria
 
 
 
 
 
 
 
 
 Since:
                                    05-30-2013
                                
 
 
 
 
 
 
 
 DataViewCriteria setPageSize(int size)
 
 
 
                                    Set the page size (max 1000 or limit controlled by the activation key, min 1, default 100). See also setMaxPageSize.
                                
 
 
 Parameters:
 
 
 
 
 
 
 Returns: 
                                        
 
 DataViewCriteria
 
 
 
 
 
 
 
 
 Since:
                                    10-11-2010
                                
 
 
 
 
 
 
 
 DataViewCriteria setQueryTimeout(int timeout)
 
 
 
                                    Sets the timeout for the query.  By default this is 10 seconds and the maximum is defined by the cloud configuration.
                                
 
 
 Parameters:
 
 
 
 - 
 
 
 
                                                            int
                                                        
 
                                                     
                                                    timeout
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
 Returns: 
                                        
 
 DataViewCriteria
 
 
 
 
 
 
 
 
 Since:
                                    03-13-2018
                                
 
 
 
 
 
 
 
 DataViewCriteria sortAscending(String column)
 
 
 
                                    Sorts the results in ascending order on the given column.
                                
 
 
 Parameters:
 
 
 
 - 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    column
                                                    
                                                         - Column name. May be prefixed with dataset table alias.
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
 Returns: 
                                        
 
 DataViewCriteria
 
 
 
 
 
 
 
 
 Since:
                                    10-19-2010
                                
 
 
 
 
 
 
 
 DataViewCriteria sortDescending(String column)
 
 
 
                                    Sorts the results in descending order on the given column.
                                
 
 
 Parameters:
 
 
 
 - 
 
 
 
                                                            String
                                                        
 
                                                     
                                                    column
                                                    
                                                         - Column name. May be prefixed with dataset table alias.
                                                    
 
                                                        Required parameter.
                                                    
 
 
 
 Returns: 
                                        
 
 DataViewCriteria
 
 
 
 
 
 
 
 
 Since:
                                    10-19-2010
                                
 
 
 
 
 
 
 
 String toString()
 
 
 
                                    Returns a description of this object.
                                
 
 
 
 Returns: 
                                        
 
 
                                                String
                                            
 
 
 
 
 
 
 Since:
                                    10-11-2010