Class EnumMostLeastFrequentScalar
java.lang.Object
com.espertech.esper.common.internal.epl.enummethod.eval.EnumForgeBasePlain
com.espertech.esper.common.internal.epl.enummethod.eval.singlelambdaopt3form.base.ThreeFormScalar
com.espertech.esper.common.internal.epl.enummethod.eval.singlelambdaopt3form.mostleastfreq.EnumMostLeastFrequentScalar
- All Implemented Interfaces:
EnumForge
-
Field Summary
Fields inherited from class com.espertech.esper.common.internal.epl.enummethod.eval.singlelambdaopt3form.base.ThreeFormScalar
fieldEventType, numParameters
Fields inherited from class com.espertech.esper.common.internal.epl.enummethod.eval.EnumForgeBasePlain
innerExpression, streamNumLambda
-
Constructor Summary
ConstructorDescriptionEnumMostLeastFrequentScalar
(ExprDotEvalParamLambda lambda, ObjectArrayEventType fieldEventType, int numParameters, boolean isMostFrequent) -
Method Summary
Modifier and TypeMethodDescriptionvoid
forEachBlock
(CodegenBlock block, CodegenMethod methodNode, ExprForgeCodegenSymbol scope, CodegenClassScope codegenClassScope) void
initBlock
(CodegenBlock block, CodegenMethod methodNode, ExprForgeCodegenSymbol scope, CodegenClassScope codegenClassScope) void
returnResult
(CodegenBlock block) Methods inherited from class com.espertech.esper.common.internal.epl.enummethod.eval.singlelambdaopt3form.base.ThreeFormScalar
codegen, getNumParameters, hasForEachLoop
Methods inherited from class com.espertech.esper.common.internal.epl.enummethod.eval.EnumForgeBasePlain
getInnerExpression, getStreamNumLambda, getStreamNumSize
-
Field Details
-
isMostFrequent
protected final boolean isMostFrequent
-
-
Constructor Details
-
EnumMostLeastFrequentScalar
public EnumMostLeastFrequentScalar(ExprDotEvalParamLambda lambda, ObjectArrayEventType fieldEventType, int numParameters, boolean isMostFrequent)
-
-
Method Details
-
getEnumEvaluator
-
returnTypeOfMethod
- Specified by:
returnTypeOfMethod
in classThreeFormScalar
-
returnIfEmptyOptional
- Specified by:
returnIfEmptyOptional
in classThreeFormScalar
-
initBlock
public void initBlock(CodegenBlock block, CodegenMethod methodNode, ExprForgeCodegenSymbol scope, CodegenClassScope codegenClassScope) - Specified by:
initBlock
in classThreeFormScalar
-
forEachBlock
public void forEachBlock(CodegenBlock block, CodegenMethod methodNode, ExprForgeCodegenSymbol scope, CodegenClassScope codegenClassScope) - Specified by:
forEachBlock
in classThreeFormScalar
-
returnResult
- Specified by:
returnResult
in classThreeFormScalar
-