| java.lang.Object com.salmonllc.sql.QBECriteriaBuilder
QBECriteriaBuilder | public class QBECriteriaBuilder (Code) | | This class builds selection criteria strings for the QBEBuilder component
|
Method Summary | |
public static String | buildFilter(DataStoreBuffer dsb, String filterString, int filterType) Builds a datastore filter expression for the specified datastore and filter string comparing to all columns in the datastore
Parameters: dsb - The DataStore to build the filter for Parameters: filterString - the filter to value to compare to elements in the datastore Parameters: filterTye - The type of comparison to use in the filter. | public static String | buildFilter(DataStoreBuffer dsb, String filterString, int filterType, String colList, String stopWords) Builds a datastore filter expression for the specified datastore and filter string comparing to all columns in the specified column list
Parameters: dsb - The DataStore to build the filter for Parameters: filterString - the filter to value to compare to elements in the datastore Parameters: filterType - The type of comparison to use in the filter. | public static String | buildSQL(DataStoreQBEInterface ds, String filterString, int filterType, ColumnDefinition[] colList, String stopWords) |
AND_OPERATOR | final public static int AND_OPERATOR(Code) | | |
DEFAULT_STOP_WORDS | final public static String DEFAULT_STOP_WORDS(Code) | | |
NOT_OPERATOR | final public static int NOT_OPERATOR(Code) | | |
OR_OPERATOR | final public static int OR_OPERATOR(Code) | | |
buildFilter | public static String buildFilter(DataStoreBuffer dsb, String filterString, int filterType) throws DataStoreException(Code) | | Builds a datastore filter expression for the specified datastore and filter string comparing to all columns in the datastore
Parameters: dsb - The DataStore to build the filter for Parameters: filterString - the filter to value to compare to elements in the datastore Parameters: filterTye - The type of comparison to use in the filter. Valid values are one of the QBEBuilder CRITERIA_TYPE constants |
buildFilter | public static String buildFilter(DataStoreBuffer dsb, String filterString, int filterType, String colList, String stopWords) throws DataStoreException(Code) | | Builds a datastore filter expression for the specified datastore and filter string comparing to all columns in the specified column list
Parameters: dsb - The DataStore to build the filter for Parameters: filterString - the filter to value to compare to elements in the datastore Parameters: filterType - The type of comparison to use in the filter. Valid values are one of the QBEBuilder CRITERIA_TYPE constants Parameters: colList - The list of columns in the datastore to compare to the filter string using the filter type Parameters: stopWords - A list of words to exclude from complex criteria. Set to null to use the default list. |
|
|