java.lang.Object
org.apache.derby.vti.Restriction
org.apache.derby.vti.Restriction.AND
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- Restriction
An AND of two Restrictions
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.derby.vti.RestrictionRestriction.AND, Restriction.ColumnQualifier, Restriction.OR
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final longDerby serializes these objects in PreparedStatements
- 
Constructor SummaryConstructorsConstructorDescriptionAND(Restriction leftChild, Restriction rightChild) AND together two other Restrictions
- 
Method SummaryModifier and TypeMethodDescriptionGet the left RestrictionGet the right RestrictiontoSQL()Turn this Restriction into WHERE clause text.
- 
Field Details- 
serialVersionUIDpublic static final long serialVersionUIDDerby serializes these objects in PreparedStatements- See Also:
 
 
- 
- 
Constructor Details- 
ANDAND together two other Restrictions- Parameters:
- leftChild- The first conjunct
- rightChild- The second conjunct
 
 
- 
- 
Method Details- 
getLeftChildGet the left Restriction- Returns:
- the first conjunct
 
- 
getRightChildGet the right Restriction- Returns:
- the second conjunct
 
- 
toSQLTurn this Restriction into WHERE clause text.- Specified by:
- toSQLin class- Restriction
- Returns:
- this Restriction as WHERE clause text
 
 
-