public class GroupByAggregationAttributeExecutor extends AbstractAggregationAttributeExecutor
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,AttributeAggregator> |
aggregatorMap |
protected long |
lastCleanupTimestamp |
protected Set<String> |
obsoleteAggregatorKeys |
attributeAggregator, attributeExpressionExecutors, queryName, siddhiAppContext, size| Constructor and Description |
|---|
GroupByAggregationAttributeExecutor(AttributeAggregator attributeAggregator,
ExpressionExecutor[] attributeExpressionExecutors,
ConfigReader configReader,
SiddhiAppContext siddhiAppContext,
String queryName) |
| Modifier and Type | Method and Description |
|---|---|
ExpressionExecutor |
cloneExecutor(String key) |
Map<String,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) |
static ThreadLocal<String> |
getKeyThreadLocal() |
void |
restoreState(Map<String,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, getReturnTypeprotected Map<String,AttributeAggregator> aggregatorMap
protected long lastCleanupTimestamp
public GroupByAggregationAttributeExecutor(AttributeAggregator attributeAggregator, ExpressionExecutor[] attributeExpressionExecutors, ConfigReader configReader, SiddhiAppContext siddhiAppContext, String queryName)
public static ThreadLocal<String> getKeyThreadLocal()
public Object execute(ComplexEvent event)
public ExpressionExecutor cloneExecutor(String key)
public Map<String,Object> currentState()
Snapshotablepublic void restoreState(Map<String,Object> state)
Snapshotablestate - the stateful objects of the element as an array on
the same order provided by currentState().Copyright © 2019 WSO2. All rights reserved.