Package com.marklogic.mapreduce.examples
Class LinkCountInDoc.RefMapper
- java.lang.Object
-
- org.apache.hadoop.mapreduce.Mapper<NodePath,MarkLogicNode,org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable>
-
- com.marklogic.mapreduce.examples.LinkCountInDoc.RefMapper
-
- Enclosing class:
- LinkCountInDoc
public static class LinkCountInDoc.RefMapper extends org.apache.hadoop.mapreduce.Mapper<NodePath,MarkLogicNode,org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable>
-
-
Constructor Summary
Constructors Constructor Description RefMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidmap(NodePath key, MarkLogicNode value, org.apache.hadoop.mapreduce.Mapper.Context context)
-
-
-
Method Detail
-
map
public void map(NodePath key, MarkLogicNode value, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
- Overrides:
mapin classorg.apache.hadoop.mapreduce.Mapper<NodePath,MarkLogicNode,org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable>- Throws:
IOExceptionInterruptedException
-
-