org.objectweb.medor.filter.rdb.lib
Class BasicRdbFieldOperand
java.lang.Object
|
+--org.objectweb.medor.lib.BasicField
|
+--org.objectweb.medor.query.rdb.lib.BasicRdbField
|
+--org.objectweb.medor.filter.rdb.lib.BasicRdbFieldOperand
- All Implemented Interfaces:
- Cloneable, java.lang.Cloneable, Expression, Field, QueryTreeField, RdbField, RdbFieldOperand
- public class BasicRdbFieldOperand
- extends BasicRdbField
- implements RdbFieldOperand
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.medor.api.Cloneable |
clone |
isCompiled
public boolean isCompiled()
- Can be considered as compiled, since nothing to do.
- Specified by:
isCompiled
in interface Expression
- Returns:
- true if the expression is compiled and false if it is not
compileExpression
public void compileExpression()
throws TypingException,
MalformedExpressionException
- nothing to do.
- Specified by:
compileExpression
in interface Expression
- Throws:
MalformedExpressionException
- if syntax error
TypingException
- when incompatible types error
occures.
getResult
public Operand getResult()
throws java.lang.IllegalStateException
- No result (this is not evaluable).
- Specified by:
getResult
in interface Expression
- Returns:
- an Operand Object
- Throws:
java.lang.IllegalStateException
- if this expression is not
compiled.
evaluate
public void evaluate(ParameterOperand[] values,
Tuple t)
throws MedorException,
java.lang.IllegalStateException
- Not evaluable.
- Specified by:
evaluate
in interface Expression
- Parameters:
values
- a list of ParameterOperandt
- Tuple
- Throws:
java.lang.IllegalStateException
- if this expression is not
compiled.
MedorException
- if evaluation error