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