Class ScriptEvaluatorMVEL
java.lang.Object
com.espertech.esper.common.internal.epl.script.core.ScriptEvaluatorBase
com.espertech.esper.common.internal.epl.script.mvel.ScriptEvaluatorMVEL
- All Implemented Interfaces:
ExprEnumerationEval
,ExprEvaluator
,ScriptEvaluator
-
Field Summary
Fields inherited from class com.espertech.esper.common.internal.epl.script.core.ScriptEvaluatorBase
coercer, parameterNames, parameters, scriptName
Fields inherited from interface com.espertech.esper.common.internal.epl.expression.core.ExprEvaluator
EPTYPEARRAY
Fields inherited from interface com.espertech.esper.common.internal.epl.script.core.ScriptEvaluator
EPTYPE
-
Constructor Summary
ConstructorDescriptionScriptEvaluatorMVEL
(String scriptName, String[] parameterNames, ExprEvaluator[] parameters, SimpleNumberCoercer coercer, Object executable) -
Method Summary
Modifier and TypeMethodDescriptionevaluate
(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) Evaluate event tuple and return result.evaluate
(Object lookupValues, ExprEvaluatorContext context) Methods inherited from class com.espertech.esper.common.internal.epl.script.core.ScriptEvaluatorBase
evaluateGetEventBean, evaluateGetROCollectionEvents, evaluateGetROCollectionScalar
-
Constructor Details
-
ScriptEvaluatorMVEL
public ScriptEvaluatorMVEL(String scriptName, String[] parameterNames, ExprEvaluator[] parameters, SimpleNumberCoercer coercer, Object executable)
-
-
Method Details
-
evaluate
public Object evaluate(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) Description copied from interface:ExprEvaluator
Evaluate event tuple and return result.- Parameters:
eventsPerStream
- - event tupleisNewData
- - indicates whether we are dealing with new data (istream) or old data (rstream)context
- context for expression evaluation- Returns:
- evaluation result, a boolean value for OR/AND-type evalution nodes.
-
evaluate
-