Package org.apache.druid.indexer
Class IndexGeneratorJob.IndexGeneratorCombiner
- java.lang.Object
-
- org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable>
-
- org.apache.druid.indexer.IndexGeneratorJob.IndexGeneratorCombiner
-
- Enclosing class:
- IndexGeneratorJob
public static class IndexGeneratorJob.IndexGeneratorCombiner extends org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable>
-
-
Constructor Summary
Constructors Constructor Description IndexGeneratorCombiner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidreduce(org.apache.hadoop.io.BytesWritable key, Iterable<org.apache.hadoop.io.BytesWritable> values, org.apache.hadoop.mapreduce.Reducer.Context context)protected voidsetup(org.apache.hadoop.mapreduce.Reducer.Context context)
-
-
-
Method Detail
-
setup
protected void setup(org.apache.hadoop.mapreduce.Reducer.Context context)
- Overrides:
setupin classorg.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable>
-
reduce
protected void reduce(org.apache.hadoop.io.BytesWritable key, Iterable<org.apache.hadoop.io.BytesWritable> values, org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException- Overrides:
reducein classorg.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable>- Throws:
IOExceptionInterruptedException
-
-