edu.umd.cloud9.example.memcached.demo
Class WordCount.MyReducer
java.lang.Object
org.apache.hadoop.mapred.MapReduceBase
edu.umd.cloud9.example.memcached.demo.WordCount.MyReducer
- All Implemented Interfaces:
- Closeable, JobConfigurable, Reducer<Text,IntWritable,Text,IntWritable>
- Enclosing class:
- WordCount
public static class WordCount.MyReducer
- extends MapReduceBase
- implements Reducer<Text,IntWritable,Text,IntWritable>
WordCount.MyReducer
public WordCount.MyReducer()
reduce
public void reduce(Text key,
Iterator<IntWritable> values,
OutputCollector<Text,IntWritable> output,
Reporter reporter)
throws IOException
- Specified by:
reduce in interface Reducer<Text,IntWritable,Text,IntWritable>
- Throws:
IOException