org.apache.nutch.crawl
Class CrawlDbReader.CrawlDbStatMapper
java.lang.Object
org.apache.nutch.crawl.CrawlDbReader.CrawlDbStatMapper
- All Implemented Interfaces:
- Closeable, JobConfigurable, Mapper<Text,CrawlDatum,Text,LongWritable>
- Enclosing class:
- CrawlDbReader
public static class CrawlDbReader.CrawlDbStatMapper
- extends Object
- implements Mapper<Text,CrawlDatum,Text,LongWritable>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CrawlDbReader.CrawlDbStatMapper
public CrawlDbReader.CrawlDbStatMapper()
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<Text,LongWritable> output,
Reporter reporter)
throws IOException
- Specified by:
map
in interface Mapper<Text,CrawlDatum,Text,LongWritable>
- Throws:
IOException
Copyright © 2011 The Apache Software Foundation