org.apache.nutch.crawl
Class CrawlDbMerger.Merger

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

public static class CrawlDbMerger.Merger
extends MapReduceBase
implements Reducer<Text,CrawlDatum,Text,CrawlDatum>


Constructor Summary
CrawlDbMerger.Merger()
           
 
Method Summary
 void close()
           
 void configure(JobConf conf)
           
 void reduce(Text key, Iterator<CrawlDatum> values, OutputCollector<Text,CrawlDatum> output, Reporter reporter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrawlDbMerger.Merger

public CrawlDbMerger.Merger()
Method Detail

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Overrides:
close in class MapReduceBase
Throws:
IOException

configure

public void configure(JobConf conf)
Specified by:
configure in interface JobConfigurable
Overrides:
configure in class MapReduceBase

reduce

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


Copyright © 2011 The Apache Software Foundation