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 Summary
Nested classes/interfaces inherited from class org.apache.derby.vti.Restriction
Restriction.AND, Restriction.ColumnQualifier, Restriction.OR
-
Field Summary
Modifier and TypeFieldDescriptionstatic final long
Derby serializes these objects in PreparedStatements -
Constructor Summary
ConstructorDescriptionOR
(Restriction leftChild, Restriction rightChild) OR together two other Restrictions -
Method Summary
Modifier and TypeMethodDescriptionGet the left RestrictionGet the right RestrictiontoSQL()
Turn this Restriction into WHERE clause text.
-
Field Details
-
serialVersionUID
public static final long serialVersionUIDDerby serializes these objects in PreparedStatements- See Also:
-
-
Constructor Details
-
OR
OR together two other Restrictions- Parameters:
leftChild
- The first disjunctrightChild
- The second disjunct
-
-
Method Details
-
getLeftChild
Get the left Restriction- Returns:
- the first disjunct
-
getRightChild
Get the right Restriction- Returns:
- the second disjunct
-
toSQL
Turn this Restriction into WHERE clause text.- Specified by:
toSQL
in classRestriction
- Returns:
- this Restriction as WHERE clause text
-