Package com.marklogic.mapreduce.test
Class MapTreeReduceTreeJSON.MyReducer
- java.lang.Object
-
- org.apache.hadoop.mapreduce.Reducer<DocumentURI,JSONDocument,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
-
- com.marklogic.mapreduce.test.MapTreeReduceTreeJSON.MyReducer
-
- Enclosing class:
- MapTreeReduceTreeJSON
public static class MapTreeReduceTreeJSON.MyReducer extends org.apache.hadoop.mapreduce.Reducer<DocumentURI,JSONDocument,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
-
-
Constructor Summary
Constructors Constructor Description MyReducer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreduce(DocumentURI key, Iterable<ForestDocument> docs, org.apache.hadoop.mapreduce.Reducer.Context context)
-
-
-
Method Detail
-
reduce
public void reduce(DocumentURI key, Iterable<ForestDocument> docs, org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException
- Throws:
IOExceptionInterruptedException
-
-