org.apache.nutch.tools
Class FreeGenerator.FG
java.lang.Object
org.apache.hadoop.mapred.MapReduceBase
org.apache.nutch.tools.FreeGenerator.FG
- All Implemented Interfaces:
- Closeable, JobConfigurable, Mapper<WritableComparable,Text,Text,Generator.SelectorEntry>, Reducer<Text,Generator.SelectorEntry,Text,CrawlDatum>
- Enclosing class:
- FreeGenerator
public static class FreeGenerator.FG
- extends MapReduceBase
- implements Mapper<WritableComparable,Text,Text,Generator.SelectorEntry>, Reducer<Text,Generator.SelectorEntry,Text,CrawlDatum>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FreeGenerator.FG
public FreeGenerator.FG()
configure
public void configure(JobConf job)
- Specified by:
configure
in interface JobConfigurable
- Overrides:
configure
in class MapReduceBase
map
public void map(WritableComparable key,
Text value,
OutputCollector<Text,Generator.SelectorEntry> output,
Reporter reporter)
throws IOException
- Specified by:
map
in interface Mapper<WritableComparable,Text,Text,Generator.SelectorEntry>
- Throws:
IOException
reduce
public void reduce(Text key,
Iterator<Generator.SelectorEntry> values,
OutputCollector<Text,CrawlDatum> output,
Reporter reporter)
throws IOException
- Specified by:
reduce
in interface Reducer<Text,Generator.SelectorEntry,Text,CrawlDatum>
- Throws:
IOException
Copyright © 2006 The Apache Software Foundation