@InterfaceAudience.Public @InterfaceStability.Stable public class LongSumReducer<KEY> extends Reducer<KEY,LongWritable,KEY,LongWritable>
| Constructor and Description |
|---|
LongSumReducer() |
| Modifier and Type | Method and Description |
|---|---|
void |
reduce(KEY key,
Iterable<LongWritable> values,
org.apache.hadoop.mapreduce.Reducer.Context context)
This method is called once for each key.
|
public LongSumReducer()
public void reduce(KEY key, Iterable<LongWritable> values, org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException
Reducerreduce in class Reducer<KEY,LongWritable,KEY,LongWritable>IOExceptionInterruptedExceptionCopyright © 2018 Apache Software Foundation. All rights reserved.