com.im.df.query.ui
Class QueryFactories.FieldOperatorValueQueryTermFactory
java.lang.Object
com.im.df.query.ui.QueryFactories.QueryTermFactory
com.im.df.query.ui.QueryFactories.FieldOperatorValueQueryTermFactory
- Enclosing class:
- QueryFactories
public static final class QueryFactories.FieldOperatorValueQueryTermFactory
- extends QueryFactories.QueryTermFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
QueryFactories.FieldOperatorValueQueryTermFactory
public QueryFactories.FieldOperatorValueQueryTermFactory()
getType
public String getType()
- Description copied from class:
QueryFactories.QueryTermFactory
- The type is used as a hint so that the query term can be executed without
having to make guesses about how to interpret it. When the query term is
being created (e.g. by a query widget it should always be possible to
specify its type. This should be specified in the DFTermExpression's
options using the QUERY_TERM_TYPE constant as the key.
- Specified by:
getType in class QueryFactories.QueryTermFactory
- Returns:
- A string that describes the type of this query term.
findPreferredWidgetType
protected QueryFactories.WidgetFactory findPreferredWidgetType(DFTermExpression qt)
- Overrides:
findPreferredWidgetType in class QueryFactories.QueryTermFactory
createQueryTerm
public DFTermExpression createQueryTerm(DFField field,
boolean ignore)
createQueryTerm
public DFTermExpression createQueryTerm(DFField field,
DFOperator op,
Object... values)
createWhereClause
public SQLWhereClauseElement createWhereClause(DFTermExpression query,
com.im.df.impl.db.query.DFSQLElementFactory sqlFactory,
String identifierQuoteString)
- Description copied from class:
QueryFactories.QueryTermFactory
- Create an appropriate where clause for our type of query
- Specified by:
createWhereClause in class QueryFactories.QueryTermFactory