static class RowCounter.RowCounterMapper extends Object implements TableMap<ImmutableBytesWritable,Result>
| Modifier and Type | Class and Description |
|---|---|
private static class |
RowCounter.RowCounterMapper.Counters |
| Constructor and Description |
|---|
RowCounterMapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
configure(org.apache.hadoop.mapred.JobConf jc) |
void |
map(ImmutableBytesWritable row,
Result values,
org.apache.hadoop.mapred.OutputCollector<ImmutableBytesWritable,Result> output,
org.apache.hadoop.mapred.Reporter reporter) |
RowCounterMapper()
public void map(ImmutableBytesWritable row, Result values, org.apache.hadoop.mapred.OutputCollector<ImmutableBytesWritable,Result> output, org.apache.hadoop.mapred.Reporter reporter) throws IOException
map in interface org.apache.hadoop.mapred.Mapper<ImmutableBytesWritable,Result,ImmutableBytesWritable,Result>IOExceptionpublic void configure(org.apache.hadoop.mapred.JobConf jc)
configure in interface org.apache.hadoop.mapred.JobConfigurablepublic void close() throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.