Package com.marklogic.mapreduce.test
Class CustomQuery.QueryReducer
- java.lang.Object
-
- org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
-
- com.marklogic.mapreduce.test.CustomQuery.QueryReducer
-
- Enclosing class:
- CustomQuery
public static class CustomQuery.QueryReducer extends org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.commons.logging.LogLOG
-
Constructor Summary
Constructors Constructor Description QueryReducer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreduce(org.apache.hadoop.io.IntWritable key, Iterable<org.apache.hadoop.io.Text> values, org.apache.hadoop.mapreduce.Reducer.Context context)
-
-
-
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:
reducein classorg.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>- Throws:
IOExceptionInterruptedException
-
-