butler.sql.query
Class QBEQuery

java.lang.Object
  extended by butler.sql.query.QBEQuery

public class QBEQuery
extends java.lang.Object

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
QBEQuery(Record rec)
           
 
Method Summary
 RecordList run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QBEQuery

public QBEQuery(Record rec)
         throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

run

public RecordList run()
               throws java.lang.Exception
Throws:
java.lang.Exception