edu.umd.cloud9.demo
Class DemoWordCountTuple1.MyReducer

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

public static class DemoWordCountTuple1.MyReducer
extends MapReduceBase
implements Reducer<Tuple,IntWritable,Tuple,IntWritable>


Constructor Summary
DemoWordCountTuple1.MyReducer()
           
 
Method Summary
 void reduce(Tuple tupleKey, Iterator<IntWritable> values, OutputCollector<Tuple,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

DemoWordCountTuple1.MyReducer

public DemoWordCountTuple1.MyReducer()
Method Detail

reduce

public void reduce(Tuple tupleKey,
                   Iterator<IntWritable> values,
                   OutputCollector<Tuple,IntWritable> output,
                   Reporter reporter)
            throws IOException
Specified by:
reduce in interface Reducer<Tuple,IntWritable,Tuple,IntWritable>
Throws:
IOException