public class SumIncrementalAttributeAggregator extends IncrementalAttributeAggregator
IncrementalAttributeAggregator to calculate sum based on an event attribute.| Constructor and Description |
|---|
SumIncrementalAttributeAggregator() |
| Modifier and Type | Method and Description |
|---|---|
Expression |
aggregate() |
Expression[] |
getBaseAggregators() |
Expression[] |
getBaseAttributeInitialValues() |
Attribute[] |
getBaseAttributes() |
Attribute.Type |
getReturnType() |
void |
init(String attributeName,
Attribute.Type attributeType) |
public void init(String attributeName, Attribute.Type attributeType)
init in class IncrementalAttributeAggregatorpublic Expression aggregate()
aggregate in class IncrementalAttributeAggregatorpublic Attribute[] getBaseAttributes()
getBaseAttributes in class IncrementalAttributeAggregatorpublic Expression[] getBaseAttributeInitialValues()
getBaseAttributeInitialValues in class IncrementalAttributeAggregatorpublic Expression[] getBaseAggregators()
getBaseAggregators in class IncrementalAttributeAggregatorpublic Attribute.Type getReturnType()
getReturnType in class IncrementalAttributeAggregatorCopyright © 2018 WSO2. All rights reserved.