|
||||||||||
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
public abstract class AbstractExpression
Adaptador
Constructor Summary | |
---|---|
AbstractExpression()
|
Method Summary | |
---|---|
Value |
evaluateExpression(long row)
Evalúa la expresión para la fila row y realiza el cacheado del resultado en caso de que la expression sea un literal |
boolean |
getLiteralCondition()
|
boolean |
isAggregated()
Checks if this expression is an aggregate function. |
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 |
---|
evaluate, getFieldName, isLiteral, simplify |
Constructor Detail |
---|
public AbstractExpression()
Method Detail |
---|
public Value evaluateExpression(long row) throws EvaluationException
Expression
evaluateExpression
in interface Expression
row
- fila para la que se evalua la expresión
EvaluationException
- Si se produce algún error semánticoExpression.evaluateExpression(long)
public boolean getLiteralCondition()
public boolean isAggregated()
Expression
isAggregated
in interface Expression
Expression.isAggregated()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |