public class UnionSetAttributeAggregator extends AttributeAggregator
AttributeAggregator to return a union of an aggregation of sets.attributeExpressionExecutors, siddhiAppContext| Constructor and Description |
|---|
UnionSetAttributeAggregator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDestroy() |
Map<String,Object> |
currentState() |
org.wso2.siddhi.query.api.definition.Attribute.Type |
getReturnType() |
protected void |
init(ExpressionExecutor[] attributeExpressionExecutors,
ConfigReader configReader,
SiddhiAppContext siddhiAppContext)
The initialization method for FunctionExecutor
|
Object |
processAdd(Object data) |
Object |
processAdd(Object[] data) |
Object |
processRemove(Object data) |
Object |
processRemove(Object[] data) |
Object |
reset() |
void |
restoreState(Map<String,Object> state) |
clean, cloneAggregator, initAggregator, processprotected void init(ExpressionExecutor[] attributeExpressionExecutors, ConfigReader configReader, SiddhiAppContext siddhiAppContext)
init in class AttributeAggregatorattributeExpressionExecutors - are the executors of each attributes in the functionconfigReader - this hold the CountAttributeAggregator configuration reader.siddhiAppContext - Siddhi app runtime contextpublic org.wso2.siddhi.query.api.definition.Attribute.Type getReturnType()
getReturnType in class AttributeAggregatorpublic Object processAdd(Object data)
processAdd in class AttributeAggregatorpublic Object processAdd(Object[] data)
processAdd in class AttributeAggregatorpublic Object processRemove(Object data)
processRemove in class AttributeAggregatorpublic Object processRemove(Object[] data)
processRemove in class AttributeAggregatorpublic Object reset()
reset in class AttributeAggregatorpublic boolean canDestroy()
canDestroy in class AttributeAggregatorpublic Map<String,Object> currentState()
currentState in class AttributeAggregatorpublic void restoreState(Map<String,Object> state)
restoreState in class AttributeAggregatorCopyright © 2019 WSO2. All rights reserved.