private static class TestTimeRangeMapRed.ProcessTimeRangeMapper extends org.apache.hadoop.hbase.mapreduce.TableMapper<org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.io.MapWritable> implements org.apache.hadoop.conf.Configurable
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.conf.Configuration |
conf |
private org.apache.hadoop.hbase.client.Table |
table |
Modifier | Constructor and Description |
---|---|
private |
ProcessTimeRangeMapper() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.conf.Configuration |
getConf() |
void |
map(org.apache.hadoop.hbase.io.ImmutableBytesWritable key,
org.apache.hadoop.hbase.client.Result result,
org.apache.hadoop.mapreduce.Mapper.Context context) |
void |
setConf(org.apache.hadoop.conf.Configuration configuration) |
private org.apache.hadoop.conf.Configuration conf
private org.apache.hadoop.hbase.client.Table table
private ProcessTimeRangeMapper()
public void map(org.apache.hadoop.hbase.io.ImmutableBytesWritable key, org.apache.hadoop.hbase.client.Result result, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException
map
in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.hbase.client.Result,org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.io.MapWritable>
IOException
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
public void setConf(org.apache.hadoop.conf.Configuration configuration)
setConf
in interface org.apache.hadoop.conf.Configurable
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.