Package org.apache.nutch.crawl
Class CrawlDbReader.CrawlDbStatMapper
java.lang.Object
org.apache.hadoop.mapreduce.Mapper<Text,CrawlDatum,Text,NutchWritable>
org.apache.nutch.crawl.CrawlDbReader.CrawlDbStatMapper
- Enclosing class:
- CrawlDbReader
public static class CrawlDbReader.CrawlDbStatMapper
extends Mapper<Text,CrawlDatum,Text,NutchWritable>
-
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, NutchWritable>.Context context) voidsetup(Mapper<Text, CrawlDatum, Text, NutchWritable>.Context context)
-
Constructor Details
-
CrawlDbStatMapper
public CrawlDbStatMapper()
-
-
Method Details
-
setup
- Overrides:
setupin classMapper<Text,CrawlDatum, Text, NutchWritable>
-
map
public void map(Text key, CrawlDatum value, Mapper<Text, CrawlDatum, throws IOException, InterruptedExceptionText, NutchWritable>.Context context) - Overrides:
mapin classMapper<Text,CrawlDatum, Text, NutchWritable> - Throws:
IOExceptionInterruptedException
-