public static class WordCount.IntSumReducer extends Reducer<Text,IntWritable,Text,IntWritable>
Reducer.Context
Constructor and Description |
---|
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
Reducer
reduce
in class Reducer<Text,IntWritable,Text,IntWritable>
IOException
InterruptedException
Copyright © 2010 The Apache Software Foundation