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