public static class TestMultithreadedTableMapper.ProcessContentsMapper extends org.apache.hadoop.hbase.mapreduce.TableMapper<org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.hbase.client.Put>
Constructor and Description |
---|
ProcessContentsMapper() |
Modifier and Type | Method and Description |
---|---|
void |
map(org.apache.hadoop.hbase.io.ImmutableBytesWritable key,
org.apache.hadoop.hbase.client.Result value,
org.apache.hadoop.mapreduce.Mapper.Context context)
Pass the key, and reversed value to reduce
|
public ProcessContentsMapper()
public void map(org.apache.hadoop.hbase.io.ImmutableBytesWritable key, org.apache.hadoop.hbase.client.Result value, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
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.hbase.client.Put>
key
- value
- context
- IOException
InterruptedException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.