public static class FreeGenerator.FG extends MapReduceBase implements Mapper<WritableComparable,Text,Text,Generator.SelectorEntry>, Reducer<Text,Generator.SelectorEntry,Text,CrawlDatum>
| Constructor and Description |
|---|
FreeGenerator.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,
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 IOException
map in interface Mapper<WritableComparable,Text,Text,Generator.SelectorEntry>IOExceptionpublic void reduce(Text key, Iterator<Generator.SelectorEntry> values, OutputCollector<Text,CrawlDatum> output, Reporter reporter) throws IOException
reduce in interface Reducer<Text,Generator.SelectorEntry,Text,CrawlDatum>IOExceptionCopyright © 2012 The Apache Software Foundation