Reducer.Context| Constructor and Description |
|---|
WordCount.IntSumReducer() |
| Modifier and Type | Method and Description |
|---|---|
void |
reduce(org.apache.hadoop.io.Text key,
Iterable<org.apache.hadoop.io.IntWritable> values,
Reducer.Context context)
This method is called once for each key.
|
public void reduce(org.apache.hadoop.io.Text key,
Iterable<org.apache.hadoop.io.IntWritable> values,
Reducer.Context context)
throws IOException,
InterruptedException
Reducerreduce in class Reducer<org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable>IOExceptionInterruptedExceptionCopyright © 2009 The Apache Software Foundation