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