MarkLogic Connector for Hadoop 1.1-3

com.marklogic.mapreduce.examples
Class HelloWorld.MyReducer

java.lang.Object
  extended by org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.Text,DocumentURI,org.apache.hadoop.io.Text>
      extended by com.marklogic.mapreduce.examples.HelloWorld.MyReducer
Enclosing class:
HelloWorld

public static class HelloWorld.MyReducer
extends org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.Text,DocumentURI,org.apache.hadoop.io.Text>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Reducer
org.apache.hadoop.mapreduce.Reducer.Context
 
Field Summary
static org.apache.commons.logging.Log LOG
           
 
Constructor Summary
HelloWorld.MyReducer()
           
 
Method Summary
 void reduce(org.apache.hadoop.io.IntWritable key, Iterable<org.apache.hadoop.io.Text> values, org.apache.hadoop.mapreduce.Reducer.Context context)
           
 
Methods inherited from class org.apache.hadoop.mapreduce.Reducer
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

HelloWorld.MyReducer

public HelloWorld.MyReducer()
Method Detail

reduce

public void reduce(org.apache.hadoop.io.IntWritable key,
                   Iterable<org.apache.hadoop.io.Text> values,
                   org.apache.hadoop.mapreduce.Reducer.Context context)
            throws IOException,
                   InterruptedException
Overrides:
reduce in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.IntWritable,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