public class TsvImporterCustomTestMapper extends org.apache.hadoop.hbase.mapreduce.TsvImporterMapper
| Constructor and Description |
|---|
TsvImporterCustomTestMapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
map(org.apache.hadoop.io.LongWritable offset,
org.apache.hadoop.io.Text value,
org.apache.hadoop.mapreduce.Mapper.Context context)
Convert a line of TSV text into an HBase table row after transforming the
values by multiplying them by 3.
|
protected void |
setup(org.apache.hadoop.mapreduce.Mapper.Context context) |
public TsvImporterCustomTestMapper()
protected void setup(org.apache.hadoop.mapreduce.Mapper.Context context)
setup in class org.apache.hadoop.hbase.mapreduce.TsvImporterMapperpublic void map(org.apache.hadoop.io.LongWritable offset, org.apache.hadoop.io.Text value, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException
map in class org.apache.hadoop.hbase.mapreduce.TsvImporterMapperIOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.