public static class IndexGeneratorJob.IndexGeneratorReducer
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.Text>
| Modifier and Type | Field and Description | 
|---|---|
protected HadoopDruidIndexerConfig | 
config  | 
| Constructor and Description | 
|---|
IndexGeneratorReducer()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected ProgressIndicator | 
makeProgressIndicator(org.apache.hadoop.mapreduce.Reducer.Context context)  | 
protected File | 
mergeQueryableIndex(List<QueryableIndex> indexes,
                   AggregatorFactory[] aggs,
                   File file,
                   ProgressIndicator progressIndicator)  | 
protected void | 
reduce(org.apache.hadoop.io.BytesWritable key,
      Iterable<org.apache.hadoop.io.BytesWritable> values,
      org.apache.hadoop.mapreduce.Reducer.Context context)  | 
protected void | 
setup(org.apache.hadoop.mapreduce.Reducer.Context context)  | 
protected HadoopDruidIndexerConfig config
protected ProgressIndicator makeProgressIndicator(org.apache.hadoop.mapreduce.Reducer.Context context)
protected File mergeQueryableIndex(List<QueryableIndex> indexes, AggregatorFactory[] aggs, File file, ProgressIndicator progressIndicator) throws IOException
IOExceptionprotected void setup(org.apache.hadoop.mapreduce.Reducer.Context context)
              throws IOException,
                     InterruptedException
setup in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.Text>IOExceptionInterruptedExceptionprotected 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
reduce in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.Text>IOExceptionInterruptedExceptionCopyright © 2011–2018. All rights reserved.