|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vishnu.parser.expressions.SQLInOperator
public class SQLInOperator
Esta clase modela el operador IN de una condicion SQL.
Constructor Summary | |
---|---|
SQLInOperator(SQLAttribute leftAttribute,
SelectStatement rightStatement)
Construye un operador IN en base al leftAttribute, que indica sobre que columna se hace la comporacion y el SELECT rightStatement indicado. |
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()
|
SQLAttribute |
leftAttribute()
retorna el atributo de la izquierda del IN (el cual representa la columna a usar en la comparacion. |
SelectStatement |
rightStatement()
retorna el SELECT SQL a usar en el IN. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SQLInOperator(SQLAttribute leftAttribute, SelectStatement rightStatement)
Method Detail |
---|
public SQLAttribute leftAttribute()
public SelectStatement rightStatement()
public Value evaluate(Record r)
SQLOperand
evaluate
in interface SQLOperand
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(SQLOperand o)
equals
in interface SQLOperand
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |