Class ExprDotForgeEnumMethodEval
java.lang.Object
com.espertech.esper.common.internal.epl.enummethod.dot.ExprDotForgeEnumMethodEval
- All Implemented Interfaces:
ExprDotEval
-
Constructor Summary
ConstructorDescriptionExprDotForgeEnumMethodEval
(ExprDotForgeEnumMethodBase forge, EnumEval enumEval, int enumEvalNumRequiredEvents) -
Method Summary
Modifier and TypeMethodDescriptionstatic EventBean[]
allocateCopyEventLambda
(EventBean[] eventsPerStream, int enumEvalNumRequiredEvents) NOTE: Code-generation-invoked method, method name and parameter order mattersstatic CodegenExpression
codegen
(ExprDotForgeEnumMethodBase forge, CodegenExpression inner, EPTypeClass innerType, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) evaluate
(Object target, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext exprEvaluatorContext)
-
Constructor Details
-
ExprDotForgeEnumMethodEval
public ExprDotForgeEnumMethodEval(ExprDotForgeEnumMethodBase forge, EnumEval enumEval, int enumEvalNumRequiredEvents)
-
-
Method Details
-
evaluate
public Object evaluate(Object target, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext exprEvaluatorContext) - Specified by:
evaluate
in interfaceExprDotEval
-
codegen
public static CodegenExpression codegen(ExprDotForgeEnumMethodBase forge, CodegenExpression inner, EPTypeClass innerType, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) -
getTypeInfo
-
getDotForge
- Specified by:
getDotForge
in interfaceExprDotEval
-
allocateCopyEventLambda
public static EventBean[] allocateCopyEventLambda(EventBean[] eventsPerStream, int enumEvalNumRequiredEvents) NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
eventsPerStream
- eventsenumEvalNumRequiredEvents
- width- Returns:
- allocated
-