edu.umd.cloud9.webgraph
Class TrecExtractLinks.Map

java.lang.Object
  extended by org.apache.hadoop.mapreduce.Mapper<LongWritable,WebDocument,Text,ArrayListWritable<AnchorText>>
      extended by edu.umd.cloud9.webgraph.TrecExtractLinks.Map
Enclosing class:
TrecExtractLinks

public static class TrecExtractLinks.Map
extends Mapper<LongWritable,WebDocument,Text,ArrayListWritable<AnchorText>>


Nested Class Summary
static class TrecExtractLinks.Map.LinkCounter
           
 
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper
Mapper.Context
 
Constructor Summary
TrecExtractLinks.Map()
           
 
Method Summary
 void map(LongWritable key, WebDocument doc, Mapper.Context context)
           
 void setup(Mapper.Context context)
           
 
Methods inherited from class org.apache.hadoop.mapreduce.Mapper
run
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrecExtractLinks.Map

public TrecExtractLinks.Map()
Method Detail

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