Package org.apache.nutch.crawl
Class CrawlDbReader.CrawlDbDumpMapper
java.lang.Object
org.apache.hadoop.mapreduce.Mapper<Text,CrawlDatum,Text,CrawlDatum>
org.apache.nutch.crawl.CrawlDbReader.CrawlDbDumpMapper
- Enclosing class:
- CrawlDbReader
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper
Mapper.Context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidmap(Text key, CrawlDatum value, Mapper<Text, CrawlDatum, Text, CrawlDatum>.Context context) voidsetup(Mapper<Text, CrawlDatum, Text, CrawlDatum>.Context context)
-
Constructor Details
-
CrawlDbDumpMapper
public CrawlDbDumpMapper()
-
-
Method Details
-
setup
- Overrides:
setupin classMapper<Text,CrawlDatum, Text, CrawlDatum>
-
map
public void map(Text key, CrawlDatum value, Mapper<Text, CrawlDatum, throws IOException, InterruptedExceptionText, CrawlDatum>.Context context) - Overrides:
mapin classMapper<Text,CrawlDatum, Text, CrawlDatum> - Throws:
IOExceptionInterruptedException
-