MarkLogic Connector for Hadoop 1.1-3

com.marklogic.mapreduce.examples
Class BinaryReader.DocMapper

java.lang.Object
  extended by org.apache.hadoop.mapreduce.Mapper<DocumentURI,org.apache.hadoop.io.BytesWritable,DocumentURI,org.apache.hadoop.io.BytesWritable>
      extended by com.marklogic.mapreduce.examples.BinaryReader.DocMapper
Enclosing class:
BinaryReader

public static class BinaryReader.DocMapper
extends org.apache.hadoop.mapreduce.Mapper<DocumentURI,org.apache.hadoop.io.BytesWritable,DocumentURI,org.apache.hadoop.io.BytesWritable>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper
org.apache.hadoop.mapreduce.Mapper.Context
 
Field Summary
static org.apache.commons.logging.Log LOG
           
 
Constructor Summary
BinaryReader.DocMapper()
           
 
Method Summary
 void map(DocumentURI key, org.apache.hadoop.io.BytesWritable value, org.apache.hadoop.mapreduce.Mapper.Context context)
           
 
Methods inherited from class org.apache.hadoop.mapreduce.Mapper
cleanup, run, setup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.apache.commons.logging.Log LOG
Constructor Detail

BinaryReader.DocMapper

public BinaryReader.DocMapper()
Method Detail

map

public void map(DocumentURI key,
                org.apache.hadoop.io.BytesWritable value,
                org.apache.hadoop.mapreduce.Mapper.Context context)
         throws IOException,
                InterruptedException
Overrides:
map in class org.apache.hadoop.mapreduce.Mapper<DocumentURI,org.apache.hadoop.io.BytesWritable,DocumentURI,org.apache.hadoop.io.BytesWritable>
Throws:
IOException
InterruptedException

MarkLogic Connector for Hadoop 1.1-3

Copyright © 2013 MarkLogic Corporation. All Rights Reserved.

Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com