public static class WordCount.IntSumReducer extends Reducer<Text,IntWritable,Text,IntWritable>
Reducer.Context| Constructor and Description |
|---|
WordCount.IntSumReducer() |
| Modifier and Type | Method and Description |
|---|---|
void |
reduce(Text key,
Iterable<IntWritable> values,
Reducer.Context context)
This method is called once for each key.
|
public void reduce(Text key, Iterable<IntWritable> values, Reducer.Context context) throws IOException, InterruptedException
Reducerreduce in class Reducer<Text,IntWritable,Text,IntWritable>IOExceptionInterruptedExceptionCopyright © 2013 Apache Software Foundation. All rights reserved.