ca.uwaterloo.cs.ql.interp.select
Class SelectRelationalExpressionNode

java.lang.Object
  extended by ca.uwaterloo.cs.ql.interp.SyntaxTreeNode
      extended by ca.uwaterloo.cs.ql.interp.ExpressionNode
          extended by ca.uwaterloo.cs.ql.interp.select.SelectConditionNode
              extended by ca.uwaterloo.cs.ql.interp.select.SelectContextNode
                  extended by ca.uwaterloo.cs.ql.interp.select.SelectRelationalExpressionNode
All Implemented Interfaces:
SelectContext

public class SelectRelationalExpressionNode
extends SelectContextNode


Constructor Summary
SelectRelationalExpressionNode(int op, ExpressionNode left, ExpressionNode right)
           
 
Method Summary
 TupleSet evaluate(Env env, TupleSet tSet)
           
 void propagate(Env env, java.lang.Object userObj)
           
 java.lang.String toString()
           
 
Methods inherited from class ca.uwaterloo.cs.ql.interp.select.SelectContextNode
evaluate, getTuple, setTuple
 
Methods inherited from class ca.uwaterloo.cs.ql.interp.SyntaxTreeNode
getLocation, setLocation, strLocation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SelectRelationalExpressionNode

public SelectRelationalExpressionNode(int op,
                                      ExpressionNode left,
                                      ExpressionNode right)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

propagate

public void propagate(Env env,
                      java.lang.Object userObj)
               throws EvaluationException
Specified by:
propagate in class SyntaxTreeNode
Throws:
EvaluationException

evaluate

public TupleSet evaluate(Env env,
                         TupleSet tSet)
                  throws EvaluationException
Specified by:
evaluate in class SelectContextNode
Throws:
EvaluationException