public static class DoubleSummaryAggregator.SumDoubleAggregator extends Object implements Aggregator<Double,Double>
| Constructor and Description |
|---|
SumDoubleAggregator() |
| Modifier and Type | Method and Description |
|---|---|
void |
aggregate(Double value)
Add a value to the current aggregation.
|
void |
combine(Aggregator<Double,Double> other)
Combine two aggregations of the same type.
|
Double |
result()
Provide the final result of the aggregation.
|
public void aggregate(Double value)
Aggregatoraggregate in interface Aggregator<Double,Double>public void combine(Aggregator<Double,Double> other)
Aggregator(Implementations will need to do an unchecked cast).
combine in interface Aggregator<Double,Double>public Double result()
Aggregatorresult in interface Aggregator<Double,Double>Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.