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
public static class CrawlDbReader.CrawlDbDumpMapper extends Mapper<Text,CrawlDatum,Text,CrawlDatum>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper
Mapper.Context
-
-
Constructor Summary
Constructors Constructor Description CrawlDbDumpMapper()
-
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,CrawlDatum>
-
map
public void map(Text key, CrawlDatum value, Mapper.Context context) throws IOException, InterruptedException
- Overrides:
map
in classMapper<Text,CrawlDatum,Text,CrawlDatum>
- Throws:
IOException
InterruptedException
-
-