butler.sql.query
Class QBEFilter

java.lang.Object
  extended bybutler.sql.query.Filter
      extended bybutler.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

Constructor Summary
QBEFilter(Record rec)
          Deprecated.  
 
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
 

Constructor Detail

QBEFilter

public QBEFilter(Record rec)
          throws java.lang.Exception
Deprecated. 
Method Detail

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