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) |
close
public void configure(JobConf job)
configure
in interface JobConfigurable
configure
in class MapReduceBase
public void map(WritableComparable<?> key, Text value, OutputCollector<Text,Generator.SelectorEntry> output, Reporter reporter) throws IOException
map
in interface Mapper<WritableComparable<?>,Text,Text,Generator.SelectorEntry>
IOException
public 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>
IOException
Copyright © 2015 The Apache Software Foundation