vishnu.parser.expressions
Class SQLConstant

java.lang.Object
  extended by vishnu.parser.expressions.SQLConstant
All Implemented Interfaces:
SQLLeafOperand, SQLOperand

public class SQLConstant
extends java.lang.Object
implements SQLLeafOperand

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

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

Constructor Detail

SQLConstant

public SQLConstant(Value v)
Method Detail

value

public Value value()

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

hashCode

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