com.marklogic.mapreduce.examples
Class ContentReader.DocMapper
java.lang.Object
org.apache.hadoop.mapreduce.Mapper<DocumentURI,MarkLogicDocument,DocumentURI,MarkLogicDocument>
com.marklogic.mapreduce.examples.ContentReader.DocMapper
- Enclosing class:
- ContentReader
public static class ContentReader.DocMapper
- extends org.apache.hadoop.mapreduce.Mapper<DocumentURI,MarkLogicDocument,DocumentURI,MarkLogicDocument>
| 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
|
| 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 |
LOG
public static final org.apache.commons.logging.Log LOG
ContentReader.DocMapper
public ContentReader.DocMapper()
map
public void map(DocumentURI key,
MarkLogicDocument value,
org.apache.hadoop.mapreduce.Mapper.Context context)
throws IOException,
InterruptedException
- Overrides:
map in class org.apache.hadoop.mapreduce.Mapper<DocumentURI,MarkLogicDocument,DocumentURI,MarkLogicDocument>
- Throws:
IOException
InterruptedException
Copyright © 2013 MarkLogic Corporation. All Rights Reserved.
Complete online documentation for MarkLogic Server,
XQuery and related components may be found at
developer.marklogic.com