Class EnumTakeForgeEval
java.lang.Object
com.espertech.esper.common.internal.epl.enummethod.eval.plain.take.EnumTakeForgeEval
- All Implemented Interfaces:
EnumEval
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CodegenExpression
codegen
(EnumTakeForge forge, EnumForgeCodegenParams args, CodegenMethodScope codegenMethodScope, CodegenClassScope codegenClassScope) evaluateEnumMethod
(EventBean[] eventsLambda, Collection enumcoll, boolean isNewData, ExprEvaluatorContext context) static Collection
evaluateEnumTakeMethod
(Collection enumcoll, int size) NOTE: Code-generation-invoked method, method name and parameter order matters
-
Constructor Details
-
EnumTakeForgeEval
-
-
Method Details
-
evaluateEnumMethod
public Object evaluateEnumMethod(EventBean[] eventsLambda, Collection enumcoll, boolean isNewData, ExprEvaluatorContext context) - Specified by:
evaluateEnumMethod
in interfaceEnumEval
-
codegen
public static CodegenExpression codegen(EnumTakeForge forge, EnumForgeCodegenParams args, CodegenMethodScope codegenMethodScope, CodegenClassScope codegenClassScope) -
evaluateEnumTakeMethod
NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
enumcoll
- collectionsize
- size- Returns:
- collection
-