org.apache.nutch.crawl
Class CrawlDbReader.CrawlDbDumpMapper

java.lang.Object
  extended by org.apache.nutch.crawl.CrawlDbReader.CrawlDbDumpMapper
All Implemented Interfaces:
Closeable, JobConfigurable, Mapper<Text,CrawlDatum,Text,CrawlDatum>
Enclosing class:
CrawlDbReader

public static class CrawlDbReader.CrawlDbDumpMapper
extends Object
implements Mapper<Text,CrawlDatum,Text,CrawlDatum>


Constructor Summary
CrawlDbReader.CrawlDbDumpMapper()
           
 
Method Summary
 void close()
           
 void configure(JobConf job)
           
 void map(Text key, CrawlDatum value, OutputCollector<Text,CrawlDatum> output, Reporter reporter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrawlDbReader.CrawlDbDumpMapper

public CrawlDbReader.CrawlDbDumpMapper()
Method Detail

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,CrawlDatum> output,
                Reporter reporter)
         throws IOException
Specified by:
map in interface Mapper<Text,CrawlDatum,Text,CrawlDatum>
Throws:
IOException


Copyright © 2012 The Apache Software Foundation