public class TsvImporterCustomTestMapper extends TsvImporterMapper
cellVisibilityExpr, conf, kvCreator, parser, ts, ttl| Constructor and Description |
|---|
TsvImporterCustomTestMapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
map(LongWritable offset,
Text value,
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(Context context)
Handles initializing this class with objects specific to it (i.e., the parser).
|
doSetup, getBadLineCount, getSkipBadLines, getTs, incrementBadLineCount, populatePutprotected void setup(Context context)
TsvImporterMapperdoSetup. Hence a subclass may choose to override this method
and call doSetup as well before handling it's own custom params.setup in class TsvImporterMapperpublic void map(LongWritable offset,
Text value,
Context context)
throws IOException
map in class TsvImporterMapperIOException