Apache Derby 10.6

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
doubleQuote, 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 Mon 2010-04-26 13:23:26-0700, from revision 938214

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