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