Class ExprArrayNodeForgeEval
java.lang.Object
com.espertech.esper.common.internal.epl.expression.ops.ExprArrayNodeForgeEval
- All Implemented Interfaces:
ExprEnumerationEval
,ExprEvaluator
-
Field Summary
Fields inherited from interface com.espertech.esper.common.internal.epl.expression.core.ExprEvaluator
EPTYPE, EPTYPEARRAY
-
Constructor Summary
ConstructorDescriptionExprArrayNodeForgeEval
(ExprArrayNodeForge forge, ExprEvaluator[] evaluators) -
Method Summary
Modifier and TypeMethodDescriptionstatic CodegenExpression
codegen
(ExprArrayNodeForge forge, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) static CodegenExpression
codegenEvaluateGetROCollectionScalar
(ExprArrayNodeForge forge, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) evaluate
(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext exprEvaluatorContext) Evaluate event tuple and return result.evaluateGetEventBean
(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) evaluateGetROCollectionEvents
(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) evaluateGetROCollectionScalar
(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)
-
Constructor Details
-
ExprArrayNodeForgeEval
-
-
Method Details
-
getExprEvaluatorEnumeration
-
evaluate
public Object evaluate(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext exprEvaluatorContext) Description copied from interface:ExprEvaluator
Evaluate event tuple and return result.- Specified by:
evaluate
in interfaceExprEvaluator
- 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.
-
codegen
public static CodegenExpression codegen(ExprArrayNodeForge forge, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) -
evaluateGetROCollectionEvents
public Collection<EventBean> evaluateGetROCollectionEvents(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) - Specified by:
evaluateGetROCollectionEvents
in interfaceExprEnumerationEval
-
evaluateGetROCollectionScalar
public Collection evaluateGetROCollectionScalar(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) - Specified by:
evaluateGetROCollectionScalar
in interfaceExprEnumerationEval
-
codegenEvaluateGetROCollectionScalar
public static CodegenExpression codegenEvaluateGetROCollectionScalar(ExprArrayNodeForge forge, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) -
evaluateGetEventBean
public EventBean evaluateGetEventBean(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) - Specified by:
evaluateGetEventBean
in interfaceExprEnumerationEval
-