org.apache.nutch.crawl
Class CrawlDbMerger.Merger
java.lang.Object
org.apache.hadoop.mapred.MapReduceBase
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>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CrawlDbMerger.Merger
public CrawlDbMerger.Merger()
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 © 2006 The Apache Software Foundation