Class NodeDumper.Dumper.DumperMapper
java.lang.Object
org.apache.hadoop.mapreduce.Mapper<Text,Node,Text,FloatWritable>
org.apache.nutch.scoring.webgraph.NodeDumper.Dumper.DumperMapper
- Enclosing class:
- NodeDumper.Dumper
Outputs the host or domain as key for this record and numInlinks,
numOutlinks or score as the value.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper
Mapper.Context -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DumperMapper
public DumperMapper()
-
-
Method Details
-
setup
-
map
public void map(Text key, Node node, Mapper<Text, Node, throws IOException, InterruptedExceptionText, FloatWritable>.Context context) - Overrides:
mapin classMapper<Text,Node, Text, FloatWritable> - Throws:
IOExceptionInterruptedException
-