com.gigaspaces.query.aggregators
Class SumAggregator
java.lang.Object
com.gigaspaces.query.aggregators.SpaceEntriesAggregator<T>
com.gigaspaces.query.aggregators.AbstractPathAggregator<com.gigaspaces.internal.utils.math.MutableNumber>
com.gigaspaces.query.aggregators.SumAggregator
- All Implemented Interfaces:
- Externalizable, Serializable, Cloneable
public class SumAggregator
- extends AbstractPathAggregator<com.gigaspaces.internal.utils.math.MutableNumber>
- Since:
- 10.0
- Author:
- Niv Ingberg
- See Also:
- Serialized Form
SumAggregator
public SumAggregator()
getDefaultAlias
public String getDefaultAlias()
- Specified by:
getDefaultAlias
in class SpaceEntriesAggregator<com.gigaspaces.internal.utils.math.MutableNumber>
aggregate
public void aggregate(SpaceEntriesAggregatorContext context)
- Specified by:
aggregate
in class SpaceEntriesAggregator<com.gigaspaces.internal.utils.math.MutableNumber>
getIntermediateResult
public com.gigaspaces.internal.utils.math.MutableNumber getIntermediateResult()
- Specified by:
getIntermediateResult
in class SpaceEntriesAggregator<com.gigaspaces.internal.utils.math.MutableNumber>
aggregateIntermediateResult
public void aggregateIntermediateResult(com.gigaspaces.internal.utils.math.MutableNumber partitionResult)
- Specified by:
aggregateIntermediateResult
in class SpaceEntriesAggregator<com.gigaspaces.internal.utils.math.MutableNumber>
getFinalResult
public Object getFinalResult()
- Overrides:
getFinalResult
in class SpaceEntriesAggregator<com.gigaspaces.internal.utils.math.MutableNumber>
Copyright © GigaSpaces.