@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 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 © 2023 Apache Software Foundation. All rights reserved.