|
Method DetailDataViewCriteria 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:
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:
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:
Returns: DataViewCriteria Since: 10-11-2010 addFilter(DataViewFilter filter) The method will take all the query parameters and paging information from argument and add it to this filter. It throws exception on columns that don't exist in the underlying storage.
Parameters:
Since: 08-09-2022 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:
Returns: DataViewCriteria Since: 10-11-2010 DataViewCriteria addGreaterThanDate(String column, Date date) Include records where column is greater than the date.
Parameters:
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:
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:
Returns: DataViewCriteria Since: 06-09-2011 DataViewCriteria addIn(String columnName, String[] arrayOfIds) Adds an 'IN' clause to the query
Parameters:
Returns: DataViewCriteria Since: 07-05-2023 DataViewCriteria addIsNull(String column) Include records where column specified is null
Parameters:
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:
Returns: DataViewCriteria Since: 10-11-2010 DataViewCriteria addLessThanDate(String column, Date date) Include records where column is less than the date.
Parameters:
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:
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:
Returns: DataViewCriteria Since: 06-09-2011 DataViewCriteria addLike(String column, String value) Include records where column is like the value. The value will be cast to the correct type.
Parameters:
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:
Returns: DataViewCriteria Since: 10-11-2010 DataViewCriteria addNotIn(String columnName, String[] arrayOfIds) Adds an 'NOT IN' clause to the query
Parameters:
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:
Returns: DataViewCriteria Since: 10-11-2010 DataViewCriteria addNotNull(String column) Include records where column specified is not null
Parameters:
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 enableDecrypt(boolean enabled) Decrypts values of encrypted columns. This has a performance impact, especially for large lists.
Parameters:
Since: 07-14-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:
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:
Returns: DataViewCriteria Since: 01-03-2014 DataViewCriteria endGroup() Ends a group of statements. Returns: DataViewCriteria Since: 10-11-2010 explain(boolean includeIndexes) This method is only for development purposes to describe the indexes that will be utilized in the given query. The output is rendered in the debug messages of Pal Builder. This method is used for development purposes and ignored in deployed pals.
Parameters:
Since: 12-04-2018 String getQuery() Returns the query statement that will be generated for the underlying storage by the filter. This method is primarily used for development purposes. Returns: String Since: 05-02-2016 boolean hasColumn(String column) Returns true if the specified column exists for queries.
Parameters:
Returns: boolean Since: 11-26-2014 boolean isDecryptEnabled() Returns true if decryption is enabled. Returns: boolean Since: 07-14-2010 reset() Resets the filter (equivalent of creating a new filter). Since: 06-04-2008 selectColumn(String column) Explicitly select the specified column.
Parameters:
Since: 06-04-2008 selectColumns(String[] columns) Explicitly select the specified columns.
Parameters:
Since: 06-04-2008 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:
Returns: DataViewCriteria Since: 03-13-2018 DataViewCriteria sortAscending(String column) Sorts the results in ascending order on the given column.
Parameters:
Returns: DataViewCriteria Since: 06-04-2008 DataViewFilter sortAscending(String column) Sorts the results in ascending order on the given column.
Parameters:
Returns: DataViewFilter Since: 06-04-2008 DataViewFilter sortDescending(String column) Sorts the results in descending order on the given column.
Parameters:
Returns: DataViewFilter Since: 06-04-2008 DataViewCriteria sortDescending(String column) Sorts the results in descending order on the given column.
Parameters:
Returns: DataViewCriteria Since: 06-04-2008 String toString() Returns a description of this object. Returns: String Since: 06-04-2008 |
Copyright © 2006 - 2024, ContractPal, Inc. All rights reserved. | API Date: Nov 22, 2024 11:54 AM |