public class LongMaxAggregator extends BasicAggregator<org.apache.hadoop.io.LongWritable>
| Constructor and Description |
|---|
LongMaxAggregator() |
| Modifier and Type | Method and Description |
|---|---|
void |
aggregate(org.apache.hadoop.io.LongWritable value)
Add a new value.
|
org.apache.hadoop.io.LongWritable |
createInitialValue()
Return new aggregated value which is neutral to aggregate operation.
|
getAggregatedValue, reset, setAggregatedValuepublic void aggregate(org.apache.hadoop.io.LongWritable value)
Aggregatorvalue - Value to be aggregated.public org.apache.hadoop.io.LongWritable createInitialValue()
AggregatorCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.