Class AggregationServiceGroupByForge
java.lang.Object
com.espertech.esper.common.internal.epl.agg.groupby.AggregationServiceGroupByForge
- All Implemented Interfaces:
AggregationServiceFactoryForge
,AggregationServiceFactoryForgeWMethodGen
public class AggregationServiceGroupByForge
extends Object
implements AggregationServiceFactoryForgeWMethodGen
Implementation for handling aggregation with grouping by group-keys.
-
Field Summary
Modifier and TypeFieldDescriptionprotected final AggGroupByDesc
protected CodegenExpression
protected CodegenExpression
protected final TimeAbacus
-
Constructor Summary
ConstructorDescriptionAggregationServiceGroupByForge
(AggGroupByDesc aggGroupByDesc, TimeAbacus timeAbacus) -
Method Summary
Modifier and TypeMethodDescription<T> T
accept
(AggregationServiceFactoryForgeVisitor<T> visitor) void
acceptCodegen
(CodegenMethod method, CodegenClassScope classScope) void
acceptGroupDetailCodegen
(CodegenMethod method, CodegenClassScope classScope) void
appendRowFabricType
(FabricTypeCollector fabricTypeCollector) void
applyEnterCodegen
(CodegenMethod method, CodegenClassScope classScope, CodegenNamedMethods namedMethods, AggregationClassNames classNames) void
applyLeaveCodegen
(CodegenMethod method, CodegenClassScope classScope, CodegenNamedMethods namedMethods, AggregationClassNames classNames) void
clearResultsCodegen
(CodegenMethod method, CodegenClassScope classScope) void
ctorCodegen
(CodegenCtor ctor, List<CodegenTypedParam> explicitMembers, CodegenClassScope classScope, AggregationClassNames classNames) void
getCollectionOfEventsCodegen
(CodegenMethod method, CodegenClassScope classScope, CodegenNamedMethods namedMethods) void
getCollectionScalarCodegen
(CodegenMethod method, CodegenClassScope classScope, CodegenNamedMethods namedMethods) void
getEventBeanCodegen
(CodegenMethod method, CodegenClassScope classScope, CodegenNamedMethods namedMethods) void
getGroupKeyCodegen
(CodegenMethod method, CodegenClassScope classScope) void
getGroupKeysCodegen
(CodegenMethod method, CodegenClassScope classScope) void
getRowCodegen
(CodegenMethod method, CodegenClassScope classScope, CodegenNamedMethods namedMethods) void
getValueCodegen
(CodegenMethod method, CodegenClassScope classScope, CodegenNamedMethods namedMethods) void
isGroupedCodegen
(CodegenMethod method, CodegenClassScope classScope) void
makeServiceCodegen
(CodegenMethod method, CodegenClassScope classScope, AggregationClassNames classNames) void
providerCodegen
(CodegenMethod method, CodegenClassScope classScope, AggregationClassNames classNames) void
rowCtorCodegen
(AggregationRowCtorDesc rowCtorDesc) void
rowReadMethodCodegen
(CodegenMethod method, int level) void
rowWriteMethodCodegen
(CodegenMethod method, int level) void
setCurrentAccessCodegen
(CodegenMethod method, CodegenClassScope classScope, AggregationClassNames classNames) void
void
setStateMgmtSetting
(StateMgmtSetting stateMgmtSetting) void
-
Field Details
-
aggGroupByDesc
-
timeAbacus
-
reclaimAge
-
reclaimFreq
-
-
Constructor Details
-
AggregationServiceGroupByForge
-
-
Method Details
-
appliesTo
- Specified by:
appliesTo
in interfaceAggregationServiceFactoryForge
-
setStateMgmtSetting
- Specified by:
setStateMgmtSetting
in interfaceAggregationServiceFactoryForge
-
appendRowFabricType
- Specified by:
appendRowFabricType
in interfaceAggregationServiceFactoryForge
-
providerCodegen
public void providerCodegen(CodegenMethod method, CodegenClassScope classScope, AggregationClassNames classNames) - Specified by:
providerCodegen
in interfaceAggregationServiceFactoryForgeWMethodGen
-
rowCtorCodegen
- Specified by:
rowCtorCodegen
in interfaceAggregationServiceFactoryForgeWMethodGen
-
rowWriteMethodCodegen
- Specified by:
rowWriteMethodCodegen
in interfaceAggregationServiceFactoryForgeWMethodGen
-
rowReadMethodCodegen
- Specified by:
rowReadMethodCodegen
in interfaceAggregationServiceFactoryForgeWMethodGen
-
makeServiceCodegen
public void makeServiceCodegen(CodegenMethod method, CodegenClassScope classScope, AggregationClassNames classNames) - Specified by:
makeServiceCodegen
in interfaceAggregationServiceFactoryForgeWMethodGen
-
ctorCodegen
public void ctorCodegen(CodegenCtor ctor, List<CodegenTypedParam> explicitMembers, CodegenClassScope classScope, AggregationClassNames classNames) - Specified by:
ctorCodegen
in interfaceAggregationServiceFactoryForgeWMethodGen
-
getValueCodegen
public void getValueCodegen(CodegenMethod method, CodegenClassScope classScope, CodegenNamedMethods namedMethods) - Specified by:
getValueCodegen
in interfaceAggregationServiceFactoryForgeWMethodGen
-
getEventBeanCodegen
public void getEventBeanCodegen(CodegenMethod method, CodegenClassScope classScope, CodegenNamedMethods namedMethods) - Specified by:
getEventBeanCodegen
in interfaceAggregationServiceFactoryForgeWMethodGen
-
getCollectionScalarCodegen
public void getCollectionScalarCodegen(CodegenMethod method, CodegenClassScope classScope, CodegenNamedMethods namedMethods) - Specified by:
getCollectionScalarCodegen
in interfaceAggregationServiceFactoryForgeWMethodGen
-
getCollectionOfEventsCodegen
public void getCollectionOfEventsCodegen(CodegenMethod method, CodegenClassScope classScope, CodegenNamedMethods namedMethods) - Specified by:
getCollectionOfEventsCodegen
in interfaceAggregationServiceFactoryForgeWMethodGen
-
applyEnterCodegen
public void applyEnterCodegen(CodegenMethod method, CodegenClassScope classScope, CodegenNamedMethods namedMethods, AggregationClassNames classNames) - Specified by:
applyEnterCodegen
in interfaceAggregationServiceFactoryForgeWMethodGen
-
applyLeaveCodegen
public void applyLeaveCodegen(CodegenMethod method, CodegenClassScope classScope, CodegenNamedMethods namedMethods, AggregationClassNames classNames) - Specified by:
applyLeaveCodegen
in interfaceAggregationServiceFactoryForgeWMethodGen
-
stopMethodCodegen
- Specified by:
stopMethodCodegen
in interfaceAggregationServiceFactoryForgeWMethodGen
-
setRemovedCallbackCodegen
- Specified by:
setRemovedCallbackCodegen
in interfaceAggregationServiceFactoryForgeWMethodGen
-
setCurrentAccessCodegen
public void setCurrentAccessCodegen(CodegenMethod method, CodegenClassScope classScope, AggregationClassNames classNames) - Specified by:
setCurrentAccessCodegen
in interfaceAggregationServiceFactoryForgeWMethodGen
-
clearResultsCodegen
- Specified by:
clearResultsCodegen
in interfaceAggregationServiceFactoryForgeWMethodGen
-
getRowLevelDesc
- Specified by:
getRowLevelDesc
in interfaceAggregationServiceFactoryForgeWMethodGen
-
acceptCodegen
- Specified by:
acceptCodegen
in interfaceAggregationServiceFactoryForgeWMethodGen
-
getGroupKeysCodegen
- Specified by:
getGroupKeysCodegen
in interfaceAggregationServiceFactoryForgeWMethodGen
-
getGroupKeyCodegen
- Specified by:
getGroupKeyCodegen
in interfaceAggregationServiceFactoryForgeWMethodGen
-
acceptGroupDetailCodegen
- Specified by:
acceptGroupDetailCodegen
in interfaceAggregationServiceFactoryForgeWMethodGen
-
isGroupedCodegen
- Specified by:
isGroupedCodegen
in interfaceAggregationServiceFactoryForgeWMethodGen
-
getRowCodegen
public void getRowCodegen(CodegenMethod method, CodegenClassScope classScope, CodegenNamedMethods namedMethods) - Specified by:
getRowCodegen
in interfaceAggregationServiceFactoryForgeWMethodGen
-
accept
- Specified by:
accept
in interfaceAggregationServiceFactoryForge
-
getAggGroupByDesc
-