butler.sql.query
Class PrimaryKeySetFilter
java.lang.Object
butler.sql.query.Filter
butler.sql.query.PrimaryKeyFilter
butler.sql.query.PrimaryKeySetFilter
- public class PrimaryKeySetFilter
- extends PrimaryKeyFilter
Filter for columns in a primary key constraint with
multiple values for the primary key.
- Author:
- Sara Olsson
Methods inherited from class butler.sql.query.Filter |
copy, equals, getFilter, getFilterMap, getId, getLeafFilters, getNestedQuery, getValues, hashCode, modify, parseFilter, registerFilter, replaceFilter, setId, setSize, toXML |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
PrimaryKeySetFilter
public PrimaryKeySetFilter(Record rec)
throws java.lang.Exception
PrimaryKeySetFilter
public PrimaryKeySetFilter(Table tab)
throws java.lang.Exception
PrimaryKeySetFilter
public PrimaryKeySetFilter(Table tab,
java.lang.String alias)
throws java.lang.Exception
setOperator
public void setOperator(Operator operator)
- Description copied from class:
Filter
- Sets the operator if operators is used, otherwise throws an exeption
- Overrides:
setOperator
in class PrimaryKeyFilter
getOperator
public Operator getOperator()
- Description copied from class:
Filter
- Returns operator if operators is used, otherwise returning null.
- Overrides:
getOperator
in class PrimaryKeyFilter
setSize
public void setSize(int count)
- Overrides:
setSize
in class Filter
getSQL
public java.lang.String getSQL(Query.SQLBuilder callback)
throws java.lang.Exception
- Overrides:
getSQL
in class Filter
- Throws:
java.lang.Exception
parse
public static Filter parse(org.dom4j.Element element,
java.util.Map tableDictonary,
Filter rootQ)
throws java.lang.Exception
- Throws:
java.lang.Exception
toXML
public void toXML(org.xml.sax.ContentHandler handler)
throws java.lang.Exception
- Overrides:
toXML
in class PrimaryKeyFilter
- Throws:
java.lang.Exception