public class IntegerAverageAggregator<I> extends AbstractAggregator<I,Double>
| Constructor and Description |
|---|
IntegerAverageAggregator() |
IntegerAverageAggregator(String attributePath) |
| Modifier and Type | Method and Description |
|---|---|
void |
accumulate(I entry)
Accumulates the given entries.
|
Double |
aggregate()
Returns the result of the aggregation.
|
void |
combine(Aggregator aggregator)
Incorporates the intermediary result of the given aggregator to this instance of the aggregator.
|
extractonAccumulationFinished, onCombinationFinishedpublic IntegerAverageAggregator()
public IntegerAverageAggregator(String attributePath)
public void accumulate(I entry)
Aggregatoraccumulate in class Aggregator<I,Double>entry - input to accumulate.public void combine(Aggregator aggregator)
Aggregatorcombine in class Aggregator<I,Double>aggregator - aggregator providing intermediary results to be combined into the results of this aggregator.
The given aggregator has to be of the same class as the one that the method is being called on.public Double aggregate()
Aggregatoraggregate in class Aggregator<I,Double>Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.