MarkLogic Connector for Hadoop 1.1-3

com.marklogic.mapreduce.examples
Class ZipContentLoader.ZipContentMapper

java.lang.Object
  extended by org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,DocumentURI,org.apache.hadoop.io.Text>
      extended by com.marklogic.mapreduce.examples.ZipContentLoader.ZipContentMapper
Enclosing class:
ZipContentLoader

public static class ZipContentLoader.ZipContentMapper
extends org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,DocumentURI,org.apache.hadoop.io.Text>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper
org.apache.hadoop.mapreduce.Mapper.Context
 
Constructor Summary
ZipContentLoader.ZipContentMapper()
           
 
Method Summary
 void map(org.apache.hadoop.io.Text fileName, org.apache.hadoop.io.Text fileContent, 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
 

Constructor Detail

ZipContentLoader.ZipContentMapper

public ZipContentLoader.ZipContentMapper()
Method Detail

map

public void map(org.apache.hadoop.io.Text fileName,
                org.apache.hadoop.io.Text fileContent,
                org.apache.hadoop.mapreduce.Mapper.Context context)
         throws IOException,
                InterruptedException
Overrides:
map in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,DocumentURI,org.apache.hadoop.io.Text>
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