Class AggSvcGroupByWTableRollupMultiKeyImpl
java.lang.Object
com.espertech.esper.common.internal.epl.agg.table.AggSvcGroupByWTableBase
com.espertech.esper.common.internal.epl.agg.table.AggSvcGroupByWTableRollupMultiKeyImpl
- All Implemented Interfaces:
AggregationResultFuture
,AggregationService
,AggregationServiceTable
,StopCallback
Implementation for handling aggregation with grouping by group-keys.
-
Field Summary
Fields inherited from class com.espertech.esper.common.internal.epl.agg.table.AggSvcGroupByWTableBase
currentAggregationRow, currentGroupKey, methodPairs, tableInstance
Fields inherited from interface com.espertech.esper.common.internal.epl.agg.core.AggregationService
EPTYPE
-
Constructor Summary
ConstructorDescriptionAggSvcGroupByWTableRollupMultiKeyImpl
(TableInstanceGrouped tableInstance, TableColumnMethodPairEval[] methodPairs, AggregationMultiFunctionAgent[] accessAgents, int[] accessColumnsZeroOffset, AggregationGroupByRollupDesc groupByRollupDesc) -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyEnterInternal
(EventBean[] eventsPerStream, Object compositeGroupByKey, ExprEvaluatorContext exprEvaluatorContext) void
applyLeaveInternal
(EventBean[] eventsPerStream, Object compositeGroupByKey, ExprEvaluatorContext exprEvaluatorContext) void
setCurrentAccess
(Object groupByKey, int agentInstanceId, AggregationGroupByRollupLevel rollupLevel) Set the current aggregation state row - for use when evaluation nodes are asked to evaluate.Methods inherited from class com.espertech.esper.common.internal.epl.agg.table.AggSvcGroupByWTableBase
accept, acceptGroupDetail, applyEnter, applyEnterTableKey, applyLeave, applyLeaveTableKey, clearResults, getAggregationRow, getCollectionOfEvents, getCollectionScalar, getContextPartitionAggregationService, getEventBean, getGroupKey, getGroupKeys, getTableInstance, getValue, isGrouped, setRemovedCallback, stop
-
Constructor Details
-
AggSvcGroupByWTableRollupMultiKeyImpl
public AggSvcGroupByWTableRollupMultiKeyImpl(TableInstanceGrouped tableInstance, TableColumnMethodPairEval[] methodPairs, AggregationMultiFunctionAgent[] accessAgents, int[] accessColumnsZeroOffset, AggregationGroupByRollupDesc groupByRollupDesc)
-
-
Method Details
-
applyEnterInternal
public void applyEnterInternal(EventBean[] eventsPerStream, Object compositeGroupByKey, ExprEvaluatorContext exprEvaluatorContext) - Specified by:
applyEnterInternal
in classAggSvcGroupByWTableBase
-
applyLeaveInternal
public void applyLeaveInternal(EventBean[] eventsPerStream, Object compositeGroupByKey, ExprEvaluatorContext exprEvaluatorContext) - Specified by:
applyLeaveInternal
in classAggSvcGroupByWTableBase
-
setCurrentAccess
public void setCurrentAccess(Object groupByKey, int agentInstanceId, AggregationGroupByRollupLevel rollupLevel) Description copied from interface:AggregationResultFuture
Set the current aggregation state row - for use when evaluation nodes are asked to evaluate.- Specified by:
setCurrentAccess
in interfaceAggregationResultFuture
- Overrides:
setCurrentAccess
in classAggSvcGroupByWTableBase
- Parameters:
groupByKey
- - single key identifying the row of aggregation statesagentInstanceId
- context partition idrollupLevel
- rollup level
-