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