public class CrawlDbReducer extends java.lang.Object implements Reducer<Text,CrawlDatum,Text,CrawlDatum>
| Constructor and Description |
|---|
CrawlDbReducer() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
configure(JobConf job) |
void |
reduce(Text key,
java.util.Iterator<CrawlDatum> values,
OutputCollector<Text,CrawlDatum> output,
Reporter reporter) |
public void configure(JobConf job)
configure in interface JobConfigurablepublic void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablepublic 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