Package com.marklogic.mapreduce.test
Class MapTreeReduceTree.MyReducer
- java.lang.Object
-
- org.apache.hadoop.mapreduce.Reducer<DocumentURIWithSourceInfo,DOMDocument,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
-
- com.marklogic.mapreduce.test.MapTreeReduceTree.MyReducer
-
- Enclosing class:
- MapTreeReduceTree
public static class MapTreeReduceTree.MyReducer extends org.apache.hadoop.mapreduce.Reducer<DocumentURIWithSourceInfo,DOMDocument,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(DocumentURIWithSourceInfo key, Iterable<ForestDocument> docs, org.apache.hadoop.mapreduce.Reducer.Context context)
-
-
-
Method Detail
-
reduce
public void reduce(DocumentURIWithSourceInfo key, Iterable<ForestDocument> docs, org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException
- Throws:
IOExceptionInterruptedException
-
-