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