public static class ShortSummaryAggregator.MaxShortAggregator extends Object implements Aggregator<Short,Short>
| Constructor and Description |
|---|
MaxShortAggregator() |
| Modifier and Type | Method and Description |
|---|---|
void |
aggregate(Short value)
Add a value to the current aggregation
|
void |
combine(Aggregator<Short,Short> other)
Combine two aggregations of the same type.
|
Short |
result()
Provide the final result of the aggregation
|
public void aggregate(Short value)
Aggregatoraggregate in interface Aggregator<Short,Short>public void combine(Aggregator<Short,Short> other)
Aggregatorcombine in interface Aggregator<Short,Short>public Short result()
Aggregatorresult in interface Aggregator<Short,Short>Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.