org.apache.nutch.crawl
Class Generator.PartitionReducer
java.lang.Object
org.apache.hadoop.mapred.MapReduceBase
org.apache.nutch.crawl.Generator.PartitionReducer
- All Implemented Interfaces:
- Closeable, JobConfigurable, Reducer<Text,Generator.SelectorEntry,Text,CrawlDatum>
- Enclosing class:
- Generator
public static class Generator.PartitionReducer
- extends MapReduceBase
- implements Reducer<Text,Generator.SelectorEntry,Text,CrawlDatum>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Generator.PartitionReducer
public Generator.PartitionReducer()
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 © 2011 The Apache Software Foundation