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