public static class DetermineHashedPartitionsJob.DetermineCardinalityMapper extends HadoopDruidIndexerMapper<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.BytesWritable>
granularitySpec
Constructor and Description |
---|
DetermineHashedPartitionsJob.DetermineCardinalityMapper() |
Modifier and Type | Method and Description |
---|---|
protected void |
innerMap(io.druid.data.input.InputRow inputRow,
Object value,
org.apache.hadoop.mapreduce.Mapper.Context context) |
void |
run(org.apache.hadoop.mapreduce.Mapper.Context context) |
protected void |
setup(org.apache.hadoop.mapreduce.Mapper.Context context) |
getConfig, getParser, map, parseInputRow
public DetermineHashedPartitionsJob.DetermineCardinalityMapper()
protected void setup(org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
setup
in class HadoopDruidIndexerMapper<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.BytesWritable>
IOException
InterruptedException
protected void innerMap(io.druid.data.input.InputRow inputRow, Object value, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
innerMap
in class HadoopDruidIndexerMapper<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.BytesWritable>
IOException
InterruptedException
public void run(org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
run
in class org.apache.hadoop.mapreduce.Mapper<Object,Object,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.BytesWritable>
IOException
InterruptedException
Copyright © 2011–2015. All rights reserved.