public static class CrawlDbMerger.Merger extends MapReduceBase implements Reducer<Text,CrawlDatum,Text,CrawlDatum>
Constructor and Description |
---|
CrawlDbMerger.Merger() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
configure(JobConf conf) |
void |
reduce(Text key,
Iterator<CrawlDatum> values,
OutputCollector<Text,CrawlDatum> output,
Reporter reporter) |
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class MapReduceBase
IOException
public void configure(JobConf conf)
configure
in interface JobConfigurable
configure
in class MapReduceBase
public void reduce(Text key, Iterator<CrawlDatum> values, OutputCollector<Text,CrawlDatum> output, Reporter reporter) throws IOException
reduce
in interface Reducer<Text,CrawlDatum,Text,CrawlDatum>
IOException
Copyright © 2015 The Apache Software Foundation