Package org.apache.nutch.crawl
Class LinkDb.LinkDbMapper
- java.lang.Object
-
- org.apache.hadoop.mapreduce.Mapper<Text,ParseData,Text,Inlinks>
-
- org.apache.nutch.crawl.LinkDb.LinkDbMapper
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper
Mapper.Context
-
-
Constructor Summary
Constructors Constructor Description LinkDbMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
map(Text key, ParseData parseData, Mapper.Context context)
void
setup(Mapper.Context context)
-
-
-
Method Detail
-
setup
public void setup(Mapper.Context context)
-
map
public void map(Text key, ParseData parseData, Mapper.Context context) throws IOException, InterruptedException
- Overrides:
map
in classMapper<Text,ParseData,Text,Inlinks>
- Throws:
IOException
InterruptedException
-
-