org.apache.nutch.crawl
Class CrawlDbReader.CrawlDbTopNReducer
java.lang.Object
org.apache.nutch.crawl.CrawlDbReader.CrawlDbTopNReducer
- All Implemented Interfaces:
- Closeable, JobConfigurable, Reducer<FloatWritable,Text,FloatWritable,Text>
- Enclosing class:
- CrawlDbReader
public static class CrawlDbReader.CrawlDbTopNReducer
- extends Object
- implements Reducer<FloatWritable,Text,FloatWritable,Text>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CrawlDbReader.CrawlDbTopNReducer
public CrawlDbReader.CrawlDbTopNReducer()
reduce
public void reduce(FloatWritable key,
Iterator<Text> values,
OutputCollector<FloatWritable,Text> output,
Reporter reporter)
throws IOException
- Specified by:
reduce
in interface Reducer<FloatWritable,Text,FloatWritable,Text>
- Throws:
IOException
configure
public void configure(JobConf job)
- Specified by:
configure
in interface JobConfigurable
close
public void close()
- Specified by:
close
in interface Closeable
Copyright © 2011 The Apache Software Foundation