vishnu.parser.expressions
Class SQLConditionalExpression

java.lang.Object
  extended by vishnu.parser.expressions.SQLConditionalExpression
All Implemented Interfaces:
SQLOperand

public class SQLConditionalExpression
extends java.lang.Object
implements SQLOperand

Author:
Hernan Rancati TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates
 

Constructor Summary
SQLConditionalExpression(SQLBinaryOperator o)
           
SQLConditionalExpression(SQLOperand o)
           
 
Method Summary
 boolean equals(SQLOperand o)
           
 Value evaluate(Record r)
          evalua el resultado de la expresion representada por este operador sobre el registro r.
 boolean hasDisjunctions()
           
 int hashCode()
           
 SQLOperand operator()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SQLConditionalExpression

public SQLConditionalExpression(SQLOperand o)

SQLConditionalExpression

public SQLConditionalExpression(SQLBinaryOperator o)
Method Detail

operator

public SQLOperand operator()

evaluate

public Value evaluate(Record r)
Description copied from interface: SQLOperand
evalua el resultado de la expresion representada por este operador sobre el registro r.

Specified by:
evaluate in interface SQLOperand

toString

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

equals

public boolean equals(SQLOperand o)
Specified by:
equals in interface SQLOperand

hasDisjunctions

public boolean hasDisjunctions()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object