edu.umd.cloud9.webgraph.driver
Class BuildIndexableAnchorCollection.MyMapper

java.lang.Object
  extended by org.apache.hadoop.mapred.MapReduceBase
      extended by 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>


Constructor Summary
BuildIndexableAnchorCollection.MyMapper()
           
 
Method Summary
 void configure(JobConf job)
           
 void map(IntWritable key, ArrayListWritable<AnchorText> value, OutputCollector<IntWritable,IndexableAnchorText> output, Reporter reporter)
           
 
Methods inherited from class org.apache.hadoop.mapred.MapReduceBase
close
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.io.Closeable
close
 

Constructor Detail

BuildIndexableAnchorCollection.MyMapper

public BuildIndexableAnchorCollection.MyMapper()
Method Detail

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