edu.umd.cloud9.demo
Class DemoWordCount.MyReducer

java.lang.Object
  extended by org.apache.hadoop.mapred.MapReduceBase
      extended by edu.umd.cloud9.demo.DemoWordCount.MyReducer
All Implemented Interfaces:
Closeable, JobConfigurable, Reducer<Text,IntWritable,Text,IntWritable>
Enclosing class:
DemoWordCount

public static class DemoWordCount.MyReducer
extends MapReduceBase
implements Reducer<Text,IntWritable,Text,IntWritable>


Constructor Summary
DemoWordCount.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 org.apache.hadoop.io.Closeable
close
 

Constructor Detail

DemoWordCount.MyReducer

public DemoWordCount.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