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