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 |
---|
RowCounterMapper() |
Modifier and Type | Method and Description |
---|---|
void |
map(ImmutableBytesWritable row,
Result values,
org.apache.hadoop.mapreduce.Mapper.Context context)
Maps the data.
|
RowCounterMapper()
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.Mapper.map(Object, Object, Context)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.