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 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
ConstructorDescriptionAND
(Restriction leftChild, Restriction rightChild) AND 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
-
AND
AND together two other Restrictions- Parameters:
leftChild
- The first conjunctrightChild
- The second conjunct
-
-
Method Details
-
getLeftChild
Get the left Restriction- Returns:
- the first conjunct
-
getRightChild
Get the right Restriction- Returns:
- the second conjunct
-
toSQL
Turn this Restriction into WHERE clause text.- Specified by:
toSQL
in classRestriction
- Returns:
- this Restriction as WHERE clause text
-