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