public static class CrawlDbMerger.Merger extends MapReduceBase implements Reducer<Text,CrawlDatum,Text,CrawlDatum>
| Constructor and Description |
|---|
Merger() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
configure(JobConf conf) |
void |
reduce(Text key,
java.util.Iterator<CrawlDatum> values,
OutputCollector<Text,CrawlDatum> output,
Reporter reporter) |
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class MapReduceBasejava.io.IOExceptionpublic void configure(JobConf conf)
configure in interface JobConfigurableconfigure in class MapReduceBasepublic void reduce(Text key, java.util.Iterator<CrawlDatum> values, OutputCollector<Text,CrawlDatum> output, Reporter reporter) throws java.io.IOException
reduce in interface Reducer<Text,CrawlDatum,Text,CrawlDatum>java.io.IOExceptionCopyright © 2017 The Apache Software Foundation