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