Class WebGraph.OutlinkDb.OutlinkDbMapper
java.lang.Object
org.apache.hadoop.mapreduce.Mapper<Text,Writable,Text,NutchWritable>
org.apache.nutch.scoring.webgraph.WebGraph.OutlinkDb.OutlinkDbMapper
- Enclosing class:
- WebGraph.OutlinkDb
public static class WebGraph.OutlinkDb.OutlinkDbMapper
extends Mapper<Text,Writable,Text,NutchWritable>
Passes through existing LinkDatum objects from an existing OutlinkDb and
maps out new LinkDatum objects from new crawls ParseData.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper
Mapper.Context -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
OutlinkDbMapper
public OutlinkDbMapper()
-
-
Method Details
-
setup
Configures the OutlinkDb job mapper. Sets up internal links and link limiting. -
map
public void map(Text key, Writable value, Mapper<Text, Writable, throws IOException, InterruptedExceptionText, NutchWritable>.Context context) - Overrides:
mapin classMapper<Text,Writable, Text, NutchWritable> - Throws:
IOExceptionInterruptedException
-