public class AggregationAttributeExecutor extends AbstractAggregationAttributeExecutor
attributeAggregator, attributeExpressionExecutors, executionPlanContext, queryName, size| Constructor and Description |
|---|
AggregationAttributeExecutor(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 AggregationAttributeExecutor(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.