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
FieldsModifier and TypeFieldDescriptionstatic final longDerby serializes these objects in PreparedStatements -
Constructor Summary
ConstructorsConstructorDescriptionAND(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:
toSQLin classRestriction- Returns:
- this Restriction as WHERE clause text
-