butler.sql.query
Class QBEFilter
java.lang.Object
butler.sql.query.Filter
butler.sql.query.QBEFilter
Deprecated. Use butler.sql.filter.QBEFilter
- public class QBEFilter
- extends Filter
Query by example filter. This filter will match only
if all columns in the given record with a value set,
matches the corresponding values in the records in
the table.
If a given record has given values 'AAA' and 'BBB'
for column A and B, the where-clause will look like:
where A = 'AAA' and B = 'BBB'.
- Author:
- Fredrik Bertilsson
Method Summary |
java.lang.String |
getSQL()
Deprecated. |
java.util.List |
getValues()
Deprecated. |
Methods inherited from class butler.sql.query.Filter |
copy, equals, getCaption, getFilter, getFilterMap, getId, getLeafFilters, getNestedQuery, getOperator, getSQL, hashCode, modify, params2db, parseFilter, registerFilter, replaceFilter, setId, setOperator, setSize, setSize, toXML, toXML |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
QBEFilter
public QBEFilter(Record rec)
throws java.lang.Exception
- Deprecated.
getSQL
public java.lang.String getSQL()
throws java.lang.Exception
- Deprecated.
- Overrides:
getSQL
in class Filter
- Throws:
java.lang.Exception
getValues
public java.util.List getValues()
- Deprecated.
- Overrides:
getValues
in class Filter