public class ExprNodeScriptEvalMVEL extends ExprNodeScriptEvalBase implements ExprNodeScriptEvaluator
coercer, eventTypeCollection, names, parameters, parent, returnType, statementName
Constructor and Description |
---|
ExprNodeScriptEvalMVEL(ExprNodeScript parent,
java.lang.String statementName,
java.lang.String[] names,
ExprForge[] parameters,
java.lang.Class returnType,
EventType eventTypeCollection,
java.lang.Object executable) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
evaluate(EventBean[] eventsPerStream,
boolean isNewData,
ExprEvaluatorContext context)
Evaluate event tuple and return result.
|
java.lang.Object |
evaluate(java.lang.Object[] lookupValues,
ExprEvaluatorContext context) |
CodegenExpression |
evaluateCodegen(java.lang.Class requiredType,
CodegenMethodScope codegenMethodScope,
ExprForgeCodegenSymbol exprSymbol,
CodegenClassScope codegenClassScope) |
java.lang.Object |
evaluateInternal(java.util.Map<java.lang.String,java.lang.Object> paramsList)
NOTE: Code-generation-invoked method, method name and parameter order matters
|
ExprForgeComplexityEnum |
getComplexity() |
java.lang.Class |
getEvaluationType() |
ExprEvaluator |
getExprEvaluator() |
static java.util.Map<java.lang.String,java.lang.Object> |
getMVELScriptParamsList(ExprEvaluatorContext context)
NOTE: Code-generation-invoked method, method name and parameter order matters
|
evaluateGetEventBean, evaluateGetEventBeanCodegen, evaluateGetROCollectionEvents, evaluateGetROCollectionEventsCodegen, evaluateGetROCollectionScalar, evaluateGetROCollectionScalarCodegen, getComponentTypeCollection, getEventTypeCollection, getEventTypeSingle, getExprEvaluatorEnumeration, getForgeRenderable, scriptResultToROCollectionEvents
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getForgeRenderable
evaluateGetEventBeanCodegen, evaluateGetROCollectionEventsCodegen, evaluateGetROCollectionScalarCodegen, getComponentTypeCollection, getEventTypeCollection, getEventTypeSingle, getExprEvaluatorEnumeration, getForgeRenderable
public ExprNodeScriptEvalMVEL(ExprNodeScript parent, java.lang.String statementName, java.lang.String[] names, ExprForge[] parameters, java.lang.Class returnType, EventType eventTypeCollection, java.lang.Object executable)
public ExprEvaluator getExprEvaluator()
getExprEvaluator
in interface ExprForge
public java.lang.Object evaluate(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)
ExprEvaluator
evaluate
in interface ExprEvaluator
eventsPerStream
- - event tupleisNewData
- - indicates whether we are dealing with new data (istream) or old data (rstream)context
- context for expression evaluationpublic CodegenExpression evaluateCodegen(java.lang.Class requiredType, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope)
evaluateCodegen
in interface ExprForge
evaluateCodegen
in class ExprNodeScriptEvalBase
public ExprForgeComplexityEnum getComplexity()
getComplexity
in interface ExprForge
public java.lang.Class getEvaluationType()
getEvaluationType
in interface ExprForge
public java.lang.Object evaluate(java.lang.Object[] lookupValues, ExprEvaluatorContext context)
evaluate
in interface ExprNodeScriptEvaluator
public static java.util.Map<java.lang.String,java.lang.Object> getMVELScriptParamsList(ExprEvaluatorContext context)
context
- ctxpublic java.lang.Object evaluateInternal(java.util.Map<java.lang.String,java.lang.Object> paramsList)
paramsList
- params