query
Class LogicalOperator

java.lang.Object
  extended byquery.LogicalOperator
All Implemented Interfaces:
Operator
Direct Known Subclasses:
And, Or

public abstract class LogicalOperator
extends java.lang.Object
implements Operator

implements Operator and holds left hand and right hand values which are instances of Opertors(Since Logical Operators operate on two Relational, Logical Operators).


Field Summary
protected  Operator lhsOperator
          holds left hand Operator.
protected  Operator rhsOperator
          holds right hand operator.
 
Constructor Summary
LogicalOperator(Operator lhsOperator, Operator rhsOperator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface query.Operator
getResult
 

Field Detail

lhsOperator

protected Operator lhsOperator
holds left hand Operator.


rhsOperator

protected Operator rhsOperator
holds right hand operator.

Constructor Detail

LogicalOperator

public LogicalOperator(Operator lhsOperator,
                       Operator rhsOperator)
Parameters:
lhsOperator - left hand Operator.
rhsOperator - right hand operator.