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