public abstract class HadoopDruidIndexerMapper<KEYOUT,VALUEOUT> extends org.apache.hadoop.mapreduce.Mapper<Object,Object,KEYOUT,VALUEOUT>
Modifier and Type | Field and Description |
---|---|
protected HadoopDruidIndexerConfig |
config |
protected GranularitySpec |
granularitySpec |
Constructor and Description |
---|
HadoopDruidIndexerMapper() |
Modifier and Type | Method and Description |
---|---|
HadoopDruidIndexerConfig |
getConfig() |
InputRowParser |
getParser() |
protected abstract void |
innerMap(InputRow inputRow,
Object value,
org.apache.hadoop.mapreduce.Mapper.Context context,
boolean reportParseExceptions) |
protected void |
map(Object key,
Object value,
org.apache.hadoop.mapreduce.Mapper.Context context) |
static InputRow |
parseInputRow(Object value,
InputRowParser parser) |
protected void |
setup(org.apache.hadoop.mapreduce.Mapper.Context context) |
protected HadoopDruidIndexerConfig config
protected GranularitySpec granularitySpec
protected void setup(org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
setup
in class org.apache.hadoop.mapreduce.Mapper<Object,Object,KEYOUT,VALUEOUT>
IOException
InterruptedException
public HadoopDruidIndexerConfig getConfig()
public InputRowParser getParser()
protected void map(Object key, Object value, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
map
in class org.apache.hadoop.mapreduce.Mapper<Object,Object,KEYOUT,VALUEOUT>
IOException
InterruptedException
public static final InputRow parseInputRow(Object value, InputRowParser parser)
protected abstract void innerMap(InputRow inputRow, Object value, org.apache.hadoop.mapreduce.Mapper.Context context, boolean reportParseExceptions) throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2011–2017. All rights reserved.