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