edu.umd.cloud9.example.memcached.demo
Class WordCount.MyReducer

java.lang.Object
  extended by org.apache.hadoop.mapred.MapReduceBase
      extended by 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>


Constructor Summary
WordCount.MyReducer()
           
 
Method Summary
 void reduce(Text key, Iterator<IntWritable> values, OutputCollector<Text,IntWritable> output, Reporter reporter)
           
 
Methods inherited from class org.apache.hadoop.mapred.MapReduceBase
close, configure
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.mapred.JobConfigurable
configure
 
Methods inherited from interface java.io.Closeable
close
 

Constructor Detail

WordCount.MyReducer

public WordCount.MyReducer()
Method Detail

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