java.lang.Object
org.apache.derby.vti.Restriction
org.apache.derby.vti.Restriction.OR
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- Restriction
An OR 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 SummaryConstructorsConstructorDescriptionOR(Restriction leftChild, Restriction rightChild) OR 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- 
OROR together two other Restrictions- Parameters:
- leftChild- The first disjunct
- rightChild- The second disjunct
 
 
- 
- 
Method Details- 
getLeftChildGet the left Restriction- Returns:
- the first disjunct
 
- 
getRightChildGet the right Restriction- Returns:
- the second disjunct
 
- 
toSQLTurn this Restriction into WHERE clause text.- Specified by:
- toSQLin class- Restriction
- Returns:
- this Restriction as WHERE clause text
 
 
-