edu.umd.cloud9.webgraph
Class ExtractLinks.Map

java.lang.Object
  extended by org.apache.hadoop.mapred.MapReduceBase
      extended by edu.umd.cloud9.webgraph.ExtractLinks.Map
All Implemented Interfaces:
Closeable, JobConfigurable, Mapper<IntWritable,ClueWarcRecord,Text,ArrayListWritable<AnchorText>>
Enclosing class:
ExtractLinks

public static class ExtractLinks.Map
extends MapReduceBase
implements Mapper<IntWritable,ClueWarcRecord,Text,ArrayListWritable<AnchorText>>


Nested Class Summary
static class ExtractLinks.Map.LinkCounter
           
 
Constructor Summary
ExtractLinks.Map()
           
 
Method Summary
 void configure(JobConf job)
           
 void map(IntWritable key, ClueWarcRecord doc, OutputCollector<Text,ArrayListWritable<AnchorText>> 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

ExtractLinks.Map

public ExtractLinks.Map()
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,
                ClueWarcRecord doc,
                OutputCollector<Text,ArrayListWritable<AnchorText>> output,
                Reporter reporter)
         throws IOException
Specified by:
map in interface Mapper<IntWritable,ClueWarcRecord,Text,ArrayListWritable<AnchorText>>
Throws:
IOException