com.espertech.esper.epl.expression
Class ExprDotEvalVariable
java.lang.Object
com.espertech.esper.epl.expression.ExprDotEvalVariable
- All Implemented Interfaces:
- ExprEvaluator
public class ExprDotEvalVariable
- extends java.lang.Object
- implements ExprEvaluator
Method Summary |
java.lang.Object |
evaluate(EventBean[] eventsPerStream,
boolean isNewData,
ExprEvaluatorContext exprEvaluatorContext)
Evaluate event tuple and return result. |
java.util.Map<java.lang.String,java.lang.Object> |
getEventType()
|
java.lang.Class |
getType()
Returns the type that the node's evaluate method returns an instance of. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExprDotEvalVariable
public ExprDotEvalVariable(VariableReader variableReader,
ExprDotStaticMethodWrap resultWrapLambda,
ExprDotEval[] chainEval)
getType
public java.lang.Class getType()
- Description copied from interface:
ExprEvaluator
- Returns the type that the node's evaluate method returns an instance of.
- Specified by:
getType
in interface ExprEvaluator
- Returns:
- type returned when evaluated
getEventType
public java.util.Map<java.lang.String,java.lang.Object> getEventType()
- Specified by:
getEventType
in interface ExprEvaluator
evaluate
public java.lang.Object evaluate(EventBean[] eventsPerStream,
boolean isNewData,
ExprEvaluatorContext exprEvaluatorContext)
- Description copied from interface:
ExprEvaluator
- Evaluate event tuple and return result.
- Specified by:
evaluate
in interface ExprEvaluator
- Parameters:
eventsPerStream
- - event tupleisNewData
- - indicates whether we are dealing with new data (istream) or old data (rstream)exprEvaluatorContext
- context for expression evaluation
- Returns:
- evaluation result, a boolean value for OR/AND-type evalution nodes.