org.apache.nutch.crawl
Class Generator.PartitionReducer

java.lang.Object
  extended by org.apache.hadoop.mapred.MapReduceBase
      extended by org.apache.nutch.crawl.Generator.PartitionReducer
All Implemented Interfaces:
Closeable, JobConfigurable, Reducer<Text,Generator.SelectorEntry,Text,CrawlDatum>
Enclosing class:
Generator

public static class Generator.PartitionReducer
extends MapReduceBase
implements Reducer<Text,Generator.SelectorEntry,Text,CrawlDatum>


Constructor Summary
Generator.PartitionReducer()
           
 
Method Summary
 void reduce(Text key, Iterator<Generator.SelectorEntry> values, OutputCollector<Text,CrawlDatum> output, Reporter reporter)
           
 
Methods inherited from class org.apache.hadoop.mapred.MapReduceBase
close, configure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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

Generator.PartitionReducer

public Generator.PartitionReducer()
Method Detail

reduce

public void reduce(Text key,
                   Iterator<Generator.SelectorEntry> values,
                   OutputCollector<Text,CrawlDatum> output,
                   Reporter reporter)
            throws IOException
Specified by:
reduce in interface Reducer<Text,Generator.SelectorEntry,Text,CrawlDatum>
Throws:
IOException


Copyright © 2011 The Apache Software Foundation