edu.umd.cloud9.demo
Class DemoWordCountTuple1.MyReducer
java.lang.Object
org.apache.hadoop.mapred.MapReduceBase
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>
DemoWordCountTuple1.MyReducer
public DemoWordCountTuple1.MyReducer()
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