Interface AggregationResultFuture
- All Known Subinterfaces:
AggregationService
,AggregationServiceMatchRecognize
,AIRegistryAggregation
- All Known Implementing Classes:
AggregationServiceNull
,AggSvcGroupAllWTableImpl
,AggSvcGroupByWTableBase
,AggSvcGroupByWTableImpl
,AggSvcGroupByWTableRollupMultiKeyImpl
,AggSvcGroupByWTableRollupSingleKeyImpl
,AIRegistryAggregationMap
,AIRegistryAggregationMultiPerm
,AIRegistryAggregationSingle
public interface AggregationResultFuture
Interface for use by aggregate expression nodes representing aggregate functions such as 'sum' or 'avg' to use
to obtain the current value for the function at time of expression evaluation.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAggregationRow
(int agentInstanceId, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext exprEvaluatorContext) getCollectionOfEvents
(int column, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) getCollectionScalar
(int column, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) getContextPartitionAggregationService
(int agentInstanceId) getEventBean
(int column, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) getGroupKey
(int agentInstanceId) getGroupKeys
(ExprEvaluatorContext exprEvaluatorContext) getValue
(int column, int agentInstanceId, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext exprEvaluatorContext) void
setCurrentAccess
(Object groupKey, int agentInstanceId, AggregationGroupByRollupLevel rollupLevel) Set the current aggregation state row - for use when evaluation nodes are asked to evaluate.
-
Field Details
-
EPTYPE
-
-
Method Details
-
getValue
Object getValue(int column, int agentInstanceId, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext exprEvaluatorContext) -
getCollectionOfEvents
Collection<EventBean> getCollectionOfEvents(int column, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) -
getEventBean
EventBean getEventBean(int column, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) -
getGroupKey
-
getGroupKeys
-
getCollectionScalar
Collection<Object> getCollectionScalar(int column, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) -
getAggregationRow
AggregationRow getAggregationRow(int agentInstanceId, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext exprEvaluatorContext) -
getContextPartitionAggregationService
-
setCurrentAccess
void setCurrentAccess(Object groupKey, int agentInstanceId, AggregationGroupByRollupLevel rollupLevel) Set the current aggregation state row - for use when evaluation nodes are asked to evaluate.- Parameters:
groupKey
- - single key identifying the row of aggregation statesagentInstanceId
- context partition idrollupLevel
- rollup level
-