public class AggSvcGroupByWTableRollupMultiKeyImpl extends AggSvcGroupByWTableBase
accessors, accessStateExpr, currentAggregatorMethods, currentAggregatorStates, currentGroupKey, isJoin, methodPairs, tableMetadata, tableStateInstance, targetStates
Constructor and Description |
---|
AggSvcGroupByWTableRollupMultiKeyImpl(TableMetadata tableMetadata,
TableColumnMethodPair[] methodPairs,
AggregationAccessorSlotPair[] accessors,
boolean join,
TableStateInstanceGrouped tableStateInstance,
int[] targetStates,
ExprNode[] accessStateExpr,
AggregationAgent[] agents,
AggregationGroupByRollupDesc groupByRollupDesc) |
Modifier and Type | Method and Description |
---|---|
void |
applyEnterInternal(EventBean[] eventsPerStream,
java.lang.Object compositeGroupByKey,
ExprEvaluatorContext exprEvaluatorContext) |
void |
applyLeaveInternal(EventBean[] eventsPerStream,
java.lang.Object compositeGroupByKey,
ExprEvaluatorContext exprEvaluatorContext) |
static CodegenMethodNode |
applyRollupCodegen(boolean enter,
CodegenMethodNode parent,
CodegenClassScope classScope,
CodegenNamedMethods namedMethods,
TableColumnMethodPair[] methodPairs,
AggregationAgentForge[] agentForges,
AggregationAgent[] agents,
int[] targetStates,
AggregationGroupByRollupDesc groupByRollupDesc,
int numTableKeys) |
void |
setCurrentAccess(java.lang.Object groupByKey,
int agentInstanceId,
AggregationGroupByRollupLevel rollupLevel)
Set the current aggregation state row - for use when evaluation nodes are asked to evaluate.
|
static void |
setCurrentAccessRollupCodegen(CodegenMethodNode method,
CodegenClassScope classScope,
int numTableKeys) |
accept, acceptGroupDetail, applyEnter, applyEnterGroupKey, applyGroupKeyCodegen, applyLeave, applyLeaveGroupKey, clearResults, ctorCodegen, getCollectionOfEvents, getCollectionScalar, getContextPartitionAggregationService, getEventBean, getGroupByValueCodegen, getGroupKey, getGroupKeys, getValue, isGrouped, setCurrentAccessCodegen, setRemovedCallback, stop
public AggSvcGroupByWTableRollupMultiKeyImpl(TableMetadata tableMetadata, TableColumnMethodPair[] methodPairs, AggregationAccessorSlotPair[] accessors, boolean join, TableStateInstanceGrouped tableStateInstance, int[] targetStates, ExprNode[] accessStateExpr, AggregationAgent[] agents, AggregationGroupByRollupDesc groupByRollupDesc)
public void applyEnterInternal(EventBean[] eventsPerStream, java.lang.Object compositeGroupByKey, ExprEvaluatorContext exprEvaluatorContext)
applyEnterInternal
in class AggSvcGroupByWTableBase
public void applyLeaveInternal(EventBean[] eventsPerStream, java.lang.Object compositeGroupByKey, ExprEvaluatorContext exprEvaluatorContext)
applyLeaveInternal
in class AggSvcGroupByWTableBase
public static CodegenMethodNode applyRollupCodegen(boolean enter, CodegenMethodNode parent, CodegenClassScope classScope, CodegenNamedMethods namedMethods, TableColumnMethodPair[] methodPairs, AggregationAgentForge[] agentForges, AggregationAgent[] agents, int[] targetStates, AggregationGroupByRollupDesc groupByRollupDesc, int numTableKeys)
public void setCurrentAccess(java.lang.Object groupByKey, int agentInstanceId, AggregationGroupByRollupLevel rollupLevel)
AggregationService
setCurrentAccess
in interface AggregationService
setCurrentAccess
in class AggSvcGroupByWTableBase
groupByKey
- - single key identifying the row of aggregation statesagentInstanceId
- context partition idrollupLevel
- rollup levelpublic static void setCurrentAccessRollupCodegen(CodegenMethodNode method, CodegenClassScope classScope, int numTableKeys)