public class ExprNodeScriptEvalJSR223 extends ExprNodeScriptEvalBase implements ExprNodeScriptEvaluator
coercer, eventTypeCollection, names, parameters, parent, returnType, statementName
Constructor and Description |
---|
ExprNodeScriptEvalJSR223(ExprNodeScript parent,
String statementName,
String[] names,
ExprForge[] parameters,
Class returnType,
EventType eventTypeCollection,
CompiledScript executable) |
Modifier and Type | Method and Description |
---|---|
Object |
evaluate(EventBean[] eventsPerStream,
boolean isNewData,
ExprEvaluatorContext context)
Evaluate event tuple and return result.
|
Object |
evaluate(Object[] lookupValues,
ExprEvaluatorContext context) |
CodegenExpression |
evaluateCodegen(CodegenParamSetExprPremade params,
CodegenContext context) |
Object |
evaluateInternal(Bindings bindings)
NOTE: Code-generation-invoked method, method name and parameter order matters
Evaluate.
|
Bindings |
getBindings(ExprEvaluatorContext context)
NOTE: Code-generation-invoked method, method name and parameter order matters
|
ExprForgeComplexityEnum |
getComplexity() |
Class |
getEvaluationType() |
ExprEvaluator |
getExprEvaluator() |
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 ExprNodeScriptEvalJSR223(ExprNodeScript parent, String statementName, String[] names, ExprForge[] parameters, Class returnType, EventType eventTypeCollection, CompiledScript executable)
public 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 ExprEvaluator getExprEvaluator()
getExprEvaluator
in interface ExprForge
public CodegenExpression evaluateCodegen(CodegenParamSetExprPremade params, CodegenContext context)
evaluateCodegen
in interface ExprForge
evaluateCodegen
in class ExprNodeScriptEvalBase
public ExprForgeComplexityEnum getComplexity()
getComplexity
in interface ExprForge
public Class getEvaluationType()
getEvaluationType
in interface ExprForge
public Object evaluate(Object[] lookupValues, ExprEvaluatorContext context)
evaluate
in interface ExprNodeScriptEvaluator
public Bindings getBindings(ExprEvaluatorContext context)
context
- context