public class ExprNodeScriptEvalJSR223 extends ExprNodeScriptEvalBase implements ExprNodeScriptEvaluator
coercer, eventTypeCollection, names, parameters, parent, returnType, statementName
Constructor and Description |
---|
ExprNodeScriptEvalJSR223(ExprNodeScript parent,
java.lang.String statementName,
java.lang.String[] names,
ExprForge[] parameters,
java.lang.Class returnType,
EventType eventTypeCollection,
javax.script.CompiledScript 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(javax.script.Bindings bindings)
NOTE: Code-generation-invoked method, method name and parameter order matters
Evaluate.
|
javax.script.Bindings |
getBindings(ExprEvaluatorContext context)
NOTE: Code-generation-invoked method, method name and parameter order matters
|
ExprForgeComplexityEnum |
getComplexity() |
java.lang.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, java.lang.String statementName, java.lang.String[] names, ExprForge[] parameters, java.lang.Class returnType, EventType eventTypeCollection, javax.script.CompiledScript executable)
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 ExprEvaluator getExprEvaluator()
getExprEvaluator
in interface ExprForge
public 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 javax.script.Bindings getBindings(ExprEvaluatorContext context)
context
- contextpublic java.lang.Object evaluateInternal(javax.script.Bindings bindings)
bindings
- bindings