public class AggSvcGroupByReclaimAgedFactory extends AggregationServiceFactoryBase
Modifier and Type | Field and Description |
---|---|
protected AggregationStateFactory[] |
accessAggregations |
protected AggregationAccessorSlotPair[] |
accessors |
protected AggSvcGroupByReclaimAgedEvalFuncFactory |
evaluationFunctionFrequency |
protected AggSvcGroupByReclaimAgedEvalFuncFactory |
evaluationFunctionMaxAge |
protected boolean |
isJoin |
aggregators, evaluators
Constructor and Description |
---|
AggSvcGroupByReclaimAgedFactory(ExprEvaluator[] evaluators,
AggregationMethodFactory[] prototypes,
Hint reclaimGroupAged,
Hint reclaimGroupFrequency,
VariableService variableService,
AggregationAccessorSlotPair[] accessors,
AggregationStateFactory[] accessAggregations,
boolean isJoin,
String optionalContextName)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
AggregationService |
makeService(AgentInstanceContext agentInstanceContext,
EngineImportService engineImportService,
boolean isSubquery,
Integer subqueryNumber) |
protected final AggregationAccessorSlotPair[] accessors
protected final AggregationStateFactory[] accessAggregations
protected final boolean isJoin
protected final AggSvcGroupByReclaimAgedEvalFuncFactory evaluationFunctionMaxAge
protected final AggSvcGroupByReclaimAgedEvalFuncFactory evaluationFunctionFrequency
public AggSvcGroupByReclaimAgedFactory(ExprEvaluator[] evaluators, AggregationMethodFactory[] prototypes, Hint reclaimGroupAged, Hint reclaimGroupFrequency, VariableService variableService, AggregationAccessorSlotPair[] accessors, AggregationStateFactory[] accessAggregations, boolean isJoin, String optionalContextName) throws ExprValidationException
evaluators
- - evaluate the sub-expression within the aggregate function (ie. sum(4*myNum))prototypes
- - collect the aggregation state that evaluators evaluate to, act as prototypes for new aggregations
aggregation states for each groupreclaimGroupAged
- hint to reclaimreclaimGroupFrequency
- hint to reclaimvariableService
- variablesaccessors
- accessor definitionsaccessAggregations
- access aggsisJoin
- true for join, false for single-streamoptionalContextName
- context nameExprValidationException
- when validation failspublic AggregationService makeService(AgentInstanceContext agentInstanceContext, EngineImportService engineImportService, boolean isSubquery, Integer subqueryNumber)