edu.umd.cloud9.webgraph
Class CollectHostnames.Map

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

public static class CollectHostnames.Map
extends MapReduceBase
implements Mapper<IntWritable,ArrayListWritable<AnchorText>,PairOfIntString,IntWritable>


Constructor Summary
CollectHostnames.Map()
           
 
Method Summary
 void map(IntWritable key, ArrayListWritable<AnchorText> anchors, OutputCollector<PairOfIntString,IntWritable> output, Reporter reporter)
           
 
Methods inherited from class org.apache.hadoop.mapred.MapReduceBase
close, configure
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.mapred.JobConfigurable
configure
 
Methods inherited from interface java.io.Closeable
close
 

Constructor Detail

CollectHostnames.Map

public CollectHostnames.Map()
Method Detail

map

public void map(IntWritable key,
                ArrayListWritable<AnchorText> anchors,
                OutputCollector<PairOfIntString,IntWritable> output,
                Reporter reporter)
         throws IOException
Specified by:
map in interface Mapper<IntWritable,ArrayListWritable<AnchorText>,PairOfIntString,IntWritable>
Throws:
IOException