vishnu.parser.expressions
Class SQLAttribute
java.lang.Object
vishnu.parser.expressions.SQLAttribute
- All Implemented Interfaces:
- SQLLeafOperand, SQLOperand
public class SQLAttribute
- 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
-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
SQLAttribute
public SQLAttribute(int index)
SQLAttribute
public SQLAttribute(java.lang.String name)
hasName
public boolean hasName()
name
public void name(java.lang.String name)
hasIndex
public boolean hasIndex()
index
public int index()
name
public java.lang.String name()
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