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