edu.umd.cloud9.webgraph
Class BuildReverseWebGraph.Reduce

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

public static class BuildReverseWebGraph.Reduce
extends MapReduceBase
implements Reducer<Text,ArrayListWritable<AnchorText>,IntWritable,ArrayListWritable<AnchorText>>


Constructor Summary
BuildReverseWebGraph.Reduce()
           
 
Method Summary
 void reduce(Text key, Iterator<ArrayListWritable<AnchorText>> values, OutputCollector<IntWritable,ArrayListWritable<AnchorText>> 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

BuildReverseWebGraph.Reduce

public BuildReverseWebGraph.Reduce()
Method Detail

reduce

public void reduce(Text key,
                   Iterator<ArrayListWritable<AnchorText>> values,
                   OutputCollector<IntWritable,ArrayListWritable<AnchorText>> output,
                   Reporter reporter)
            throws IOException
Specified by:
reduce in interface Reducer<Text,ArrayListWritable<AnchorText>,IntWritable,ArrayListWritable<AnchorText>>
Throws:
IOException