edu.umd.cloud9.webgraph
Class TrecExtractLinks.Map
java.lang.Object
org.apache.hadoop.mapreduce.Mapper<LongWritable,WebDocument,Text,ArrayListWritable<AnchorText>>
edu.umd.cloud9.webgraph.TrecExtractLinks.Map
- Enclosing class:
- TrecExtractLinks
public static class TrecExtractLinks.Map
- extends Mapper<LongWritable,WebDocument,Text,ArrayListWritable<AnchorText>>
| Methods inherited from class org.apache.hadoop.mapreduce.Mapper |
run |
TrecExtractLinks.Map
public TrecExtractLinks.Map()
setup
public void setup(Mapper.Context context)
throws IOException
- Overrides:
setup in class Mapper<LongWritable,WebDocument,Text,ArrayListWritable<AnchorText>>
- Throws:
IOException
map
public void map(LongWritable key,
WebDocument doc,
Mapper.Context context)
throws IOException,
InterruptedException
- Overrides:
map in class Mapper<LongWritable,WebDocument,Text,ArrayListWritable<AnchorText>>
- Throws:
IOException
InterruptedException