public class GroupByAggregationAttributeExecutor extends AbstractAggregationAttributeExecutor
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,AttributeAggregator> |
aggregatorMap |
static int |
DEFAULT_AGGREGATOR_CLEAN_INTERVAL |
protected org.wso2.siddhi.core.query.selector.attribute.processor.executor.GroupByAggregationAttributeExecutor.ExpiredAggregatorTracker |
expiredAggregatorTracker |
attributeAggregator, attributeExpressionExecutors, executionPlanContext, queryName, size| Constructor and Description |
|---|
GroupByAggregationAttributeExecutor(AttributeAggregator attributeAggregator,
ExpressionExecutor[] attributeExpressionExecutors,
ExecutionPlanContext executionPlanContext,
String queryName) |
| Modifier and Type | Method and Description |
|---|---|
ExpressionExecutor |
cloneExecutor(String key) |
Object[] |
currentState()
Used to collect the serializable state of the processing element, that need to be
persisted for the reconstructing the element to the same state on a different point of time
|
Object |
execute(ComplexEvent event) |
void |
restoreState(Object[] state)
Used to restore serialized state of the processing element, for reconstructing
the element to the same state as if was on a previous point of time.
|
getElementId, getReturnTypepublic static final int DEFAULT_AGGREGATOR_CLEAN_INTERVAL
protected Map<String,AttributeAggregator> aggregatorMap
protected org.wso2.siddhi.core.query.selector.attribute.processor.executor.GroupByAggregationAttributeExecutor.ExpiredAggregatorTracker expiredAggregatorTracker
public GroupByAggregationAttributeExecutor(AttributeAggregator attributeAggregator, ExpressionExecutor[] attributeExpressionExecutors, ExecutionPlanContext executionPlanContext, String queryName)
public Object execute(ComplexEvent event)
public ExpressionExecutor cloneExecutor(String key)
public Object[] currentState()
Snapshotablepublic void restoreState(Object[] state)
Snapshotablestate - the stateful objects of the element as an array on
the same order provided by currentState().Copyright © 2018 WSO2. All Rights Reserved.