Class OrQuery


public class OrQuery
extends java.lang.Object
implements Query

Used to combine two queries with OR semantics This class extends the generic Query interface. An OrQuery object is specified at the client and passed to the server in a template tuple. At the server, it is transformed to a TSOrQuery object that is actually used for the query operation.

John Thomas
See Also:
Query, Serialized Form

Constructor Summary
OrQuery(Query lhs_, Query rhs_)
          Create a new OrQuery
Method Summary
 Query getLhs()
          access the lefthand side of an Or query
 Query getRhs()
          access the righthand side of an Or query
 java.lang.String toString()
          Display the Query
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public OrQuery(Query lhs_,
               Query rhs_)
Create a new OrQuery
lhs_ - The left-hand query
rhs_ - The right-hand query
Method Detail


public Query getLhs()
access the lefthand side of an Or query


public Query getRhs()
access the righthand side of an Or query


public java.lang.String toString()
Display the Query
toString in class java.lang.Object