|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hardcode.gdbms.engine.instruction.Adapter
com.hardcode.gdbms.engine.instruction.AbstractExpression
com.hardcode.gdbms.engine.instruction.IsClauseAdapter
public class IsClauseAdapter
Adaptador
| Constructor Summary | |
|---|---|
IsClauseAdapter()
|
|
| Method Summary | |
|---|---|
Value |
evaluate(long row)
Evalúa la expresión para la fila row |
java.lang.String |
getFieldName()
Obtiene el nombre del campo en el que consiste la expresión. |
boolean |
isLiteral()
Indica si los operandos de esta expresión son siempre los mismos o pueden cambiar. |
void |
simplify()
Simplifica las expresiones del árbol de adaptadores |
| Methods inherited from class com.hardcode.gdbms.engine.instruction.AbstractExpression |
|---|
evaluateExpression, getLiteralCondition, isAggregated |
| Methods inherited from class com.hardcode.gdbms.engine.instruction.Adapter |
|---|
getChilds, getEntity, getInstructionContext, getParent, replaceChild, setChilds, setEntity, setInstructionContext, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.hardcode.gdbms.engine.instruction.Expression |
|---|
evaluateExpression, isAggregated |
| Constructor Detail |
|---|
public IsClauseAdapter()
| Method Detail |
|---|
public java.lang.String getFieldName()
Expression
getFieldName in interface ExpressionExpression.getFieldName()public void simplify()
Expression
simplify in interface ExpressionExpression.simplify()
public Value evaluate(long row)
throws EvaluationException
Expression
evaluate in interface Expressionrow - fila para la que se evalua la expresión
EvaluationException - Si se produce algún error semánticoExpression.evaluate(long)public boolean isLiteral()
Expression
isLiteral in interface ExpressionExpression.isLiteral()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||