Class AggregatorRate
java.lang.Object
com.espertech.esper.common.internal.epl.agg.method.core.AggregatorMethodWDistinctWFilterBase
com.espertech.esper.common.internal.epl.agg.method.rate.AggregatorRate
- All Implemented Interfaces:
AggregatorMethod
Aggregation computing an event arrival rate for data windowed-events.
-
Field Summary
Modifier and TypeFieldDescriptionprotected CodegenExpressionMember
protected AggregationForgeFactoryRate
protected CodegenExpressionMember
protected CodegenExpressionMember
protected CodegenExpressionMember
Fields inherited from class com.espertech.esper.common.internal.epl.agg.method.core.AggregatorMethodWDistinctWFilterBase
distinct, hasFilter, optionalDistinctSerde, optionalDistinctValueType, optionalFilter
-
Constructor Summary
ConstructorDescriptionAggregatorRate
(AggregationForgeFactoryRate factory, EPTypeClass optionalDistinctValueType, DataInputOutputSerdeForge optionalDistinctSerde, boolean hasFilter, ExprNode optionalFilter) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
appendFormatWODistinct
(FabricTypeCollector collector) protected void
applyEvalEnterFiltered
(CodegenMethod method, ExprForgeCodegenSymbol symbols, ExprForge[] forges, CodegenClassScope classScope) protected void
applyEvalLeaveFiltered
(CodegenMethod method, ExprForgeCodegenSymbol symbols, ExprForge[] forges, CodegenClassScope classScope) protected void
applyTableEnterFiltered
(CodegenExpressionRef value, EPType[] evaluationTypes, CodegenMethod method, CodegenClassScope classScope) protected void
applyTableLeaveFiltered
(CodegenExpressionRef value, EPType[] evaluationTypes, CodegenMethod method, CodegenClassScope classScope) protected void
clearWODistinct
(CodegenMethod method, CodegenClassScope classScope) void
getValueCodegen
(CodegenMethod method, CodegenClassScope classScope) void
initForgeFiltered
(int col, CodegenCtor rowCtor, CodegenMemberCol membersColumnized, CodegenClassScope classScope) protected void
readWODistinct
(CodegenExpressionRef row, int col, CodegenExpressionRef input, CodegenExpressionRef unitKey, CodegenMethod method, CodegenClassScope classScope) protected void
writeWODistinct
(CodegenExpressionRef row, int col, CodegenExpressionRef output, CodegenExpressionRef unitKey, CodegenExpressionRef writer, CodegenMethod method, CodegenClassScope classScope) Methods inherited from class com.espertech.esper.common.internal.epl.agg.method.core.AggregatorMethodWDistinctWFilterBase
applyEvalEnterCodegen, applyEvalLeaveCodegen, applyTableEnterCodegen, applyTableLeaveCodegen, clearCodegen, collectFabricType, initForge, readCodegen, toDistinctValueKey, writeCodegen
-
Field Details
-
factory
-
accumulator
-
latest
-
oldest
-
isSet
-
-
Constructor Details
-
AggregatorRate
public AggregatorRate(AggregationForgeFactoryRate factory, EPTypeClass optionalDistinctValueType, DataInputOutputSerdeForge optionalDistinctSerde, boolean hasFilter, ExprNode optionalFilter)
-
-
Method Details
-
initForgeFiltered
public void initForgeFiltered(int col, CodegenCtor rowCtor, CodegenMemberCol membersColumnized, CodegenClassScope classScope) - Specified by:
initForgeFiltered
in classAggregatorMethodWDistinctWFilterBase
-
applyEvalEnterFiltered
protected void applyEvalEnterFiltered(CodegenMethod method, ExprForgeCodegenSymbol symbols, ExprForge[] forges, CodegenClassScope classScope) - Specified by:
applyEvalEnterFiltered
in classAggregatorMethodWDistinctWFilterBase
-
applyEvalLeaveFiltered
protected void applyEvalLeaveFiltered(CodegenMethod method, ExprForgeCodegenSymbol symbols, ExprForge[] forges, CodegenClassScope classScope) - Specified by:
applyEvalLeaveFiltered
in classAggregatorMethodWDistinctWFilterBase
-
applyTableEnterFiltered
protected void applyTableEnterFiltered(CodegenExpressionRef value, EPType[] evaluationTypes, CodegenMethod method, CodegenClassScope classScope) - Specified by:
applyTableEnterFiltered
in classAggregatorMethodWDistinctWFilterBase
-
applyTableLeaveFiltered
protected void applyTableLeaveFiltered(CodegenExpressionRef value, EPType[] evaluationTypes, CodegenMethod method, CodegenClassScope classScope) - Specified by:
applyTableLeaveFiltered
in classAggregatorMethodWDistinctWFilterBase
-
clearWODistinct
- Specified by:
clearWODistinct
in classAggregatorMethodWDistinctWFilterBase
-
getValueCodegen
-
writeWODistinct
protected void writeWODistinct(CodegenExpressionRef row, int col, CodegenExpressionRef output, CodegenExpressionRef unitKey, CodegenExpressionRef writer, CodegenMethod method, CodegenClassScope classScope) - Specified by:
writeWODistinct
in classAggregatorMethodWDistinctWFilterBase
-
readWODistinct
protected void readWODistinct(CodegenExpressionRef row, int col, CodegenExpressionRef input, CodegenExpressionRef unitKey, CodegenMethod method, CodegenClassScope classScope) - Specified by:
readWODistinct
in classAggregatorMethodWDistinctWFilterBase
-
appendFormatWODistinct
- Specified by:
appendFormatWODistinct
in classAggregatorMethodWDistinctWFilterBase
-