vishnu.parser.expressions
Class SQLNotOperator
java.lang.Object
vishnu.parser.expressions.SQLNotOperator
- All Implemented Interfaces:
- SQLOperand
public class SQLNotOperator
- extends java.lang.Object
- implements SQLOperand
Este operador modela la negacion de un valor booleano.
- Author:
- Hernan Rancati
-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
SQLNotOperator
public SQLNotOperator(SQLOperand booleanOperand)
operand
public SQLOperand operand()
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