public static class FreeGenerator.FG extends MapReduceBase implements Mapper<WritableComparable<?>,Text,Text,Generator.SelectorEntry>, Reducer<Text,Generator.SelectorEntry,Text,CrawlDatum>
| Constructor and Description |
|---|
FG() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(JobConf job) |
void |
map(WritableComparable<?> key,
Text value,
OutputCollector<Text,Generator.SelectorEntry> output,
Reporter reporter) |
void |
reduce(Text key,
java.util.Iterator<Generator.SelectorEntry> values,
OutputCollector<Text,CrawlDatum> output,
Reporter reporter) |
closepublic void configure(JobConf job)
configure in interface JobConfigurableconfigure in class MapReduceBasepublic void map(WritableComparable<?> key, Text value, OutputCollector<Text,Generator.SelectorEntry> output, Reporter reporter) throws java.io.IOException
map in interface Mapper<WritableComparable<?>,Text,Text,Generator.SelectorEntry>java.io.IOExceptionpublic void reduce(Text key, java.util.Iterator<Generator.SelectorEntry> values, OutputCollector<Text,CrawlDatum> output, Reporter reporter) throws java.io.IOException
reduce in interface Reducer<Text,Generator.SelectorEntry,Text,CrawlDatum>java.io.IOExceptionCopyright © 2017 The Apache Software Foundation