Apache Derby 10.9

org.apache.derby.vti
Class Restriction.OR

java.lang.Object
  extended by org.apache.derby.vti.Restriction
      extended by org.apache.derby.vti.Restriction.OR
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Restriction

public static class Restriction.OR
extends Restriction

An OR of two Restrictions

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.derby.vti.Restriction
Restriction.AND, Restriction.ColumnQualifier, Restriction.OR
 
Field Summary
static long serialVersionUID
          Derby serializes these objects in PreparedStatements
 
Constructor Summary
Restriction.OR(Restriction leftChild, Restriction rightChild)
          OR together two other Restrictions
 
Method Summary
 Restriction getLeftChild()
          Get the left Restriction
 Restriction getRightChild()
          Get the right Restriction
 java.lang.String toSQL()
          Turn this Restriction into a string suitable for use in a WHERE clause.
 
Methods inherited from class org.apache.derby.vti.Restriction
parenthesize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
Derby serializes these objects in PreparedStatements

See Also:
Constant Field Values
Constructor Detail

Restriction.OR

public Restriction.OR(Restriction leftChild,
                      Restriction rightChild)
OR together two other Restrictions

Method Detail

getLeftChild

public Restriction getLeftChild()
Get the left Restriction


getRightChild

public Restriction getRightChild()
Get the right Restriction


toSQL

public java.lang.String toSQL()
Description copied from class: Restriction
Turn this Restriction into a string suitable for use in a WHERE clause.

Specified by:
toSQL in class Restriction

Built on Thu 2012-05-31 12:19:36-0700, from revision 1344872

Apache Derby 10.9 API Documentation - Copyright © 2004,2012 The Apache Software Foundation. All Rights Reserved.