Class TestTimeRangeMapRed.ProcessTimeRangeMapper
java.lang.Object
org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.hbase.client.Result,KEYOUT,VALUEOUT>
org.apache.hadoop.hbase.mapreduce.TableMapper<org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.io.MapWritable>
org.apache.hadoop.hbase.mapreduce.TestTimeRangeMapRed.ProcessTimeRangeMapper
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable
- Enclosing class:
- TestTimeRangeMapRed
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
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper
org.apache.hadoop.mapreduce.Mapper.Context
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.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<org.apache.hadoop.hbase.io.ImmutableBytesWritable, org.apache.hadoop.hbase.client.Result, org.apache.hadoop.hbase.io.ImmutableBytesWritable, org.apache.hadoop.io.MapWritable>.org.apache.hadoop.mapreduce.Mapper.Context context) void
setConf
(org.apache.hadoop.conf.Configuration configuration) Methods inherited from class org.apache.hadoop.mapreduce.Mapper
cleanup, run, setup
-
Field Details
-
conf
-
table
-
-
Constructor Details
-
ProcessTimeRangeMapper
private ProcessTimeRangeMapper()
-
-
Method Details
-
map
public void map(org.apache.hadoop.hbase.io.ImmutableBytesWritable key, org.apache.hadoop.hbase.client.Result result, org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.hbase.io.ImmutableBytesWritable, org.apache.hadoop.hbase.client.Result, throws IOExceptionorg.apache.hadoop.hbase.io.ImmutableBytesWritable, org.apache.hadoop.io.MapWritable>.org.apache.hadoop.mapreduce.Mapper.Context context) - Overrides:
map
in classorg.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> - Throws:
IOException
-
getConf
- Specified by:
getConf
in interfaceorg.apache.hadoop.conf.Configurable
-
setConf
- Specified by:
setConf
in interfaceorg.apache.hadoop.conf.Configurable
-