static class RowCounter.RowCounterMapper extends TableMapper<ImmutableBytesWritable,Result>
| Modifier and Type | Class and Description |
|---|---|
static class |
RowCounter.RowCounterMapper.Counters
Counter enumeration to count the actual rows.
|
| Constructor and Description |
|---|
RowCounter.RowCounterMapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
map(ImmutableBytesWritable row,
Result values,
org.apache.hadoop.mapreduce.Mapper.Context context)
Maps the data.
|
public void map(ImmutableBytesWritable row, Result values, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException
map in class org.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable,Result,ImmutableBytesWritable,Result>row - The current table row key.values - The columns.context - The current context.IOException - When something is broken with the data.org.apache.hadoop.mapreduce.Mapper#map(KEYIN, VALUEIN,
org.apache.hadoop.mapreduce.Mapper.Context)Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.