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 Constructor Description CrawlDbStatMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
map(Text key, CrawlDatum value, Mapper.Context context)
void
setup(Mapper.Context context)
-
-
-
Method Detail
-
setup
public void setup(Mapper.Context context)
- Overrides:
setup
in classMapper<Text,CrawlDatum,Text,NutchWritable>
-
map
public void map(Text key, CrawlDatum value, Mapper.Context context) throws IOException, InterruptedException
- Overrides:
map
in classMapper<Text,CrawlDatum,Text,NutchWritable>
- Throws:
IOException
InterruptedException
-
-