public class JsonToKeyValueMapper extends FormatToBytesWritableMapper<Map<?,?>>
FormatToBytesWritableMapper.DefaultImportPreUpsertKeyValueProcessor, FormatToBytesWritableMapper.LineParser<T>
COLUMN_INFO_CONFKEY, columnIndexes, conn, COUNTER_GROUP_NAME, IGNORE_INVALID_ROW_CONFKEY, LOGGER, LOGICAL_NAMES_CONFKEY, logicalNames, preUpdateProcessor, TABLE_NAME_CONFKEY, TABLE_NAMES_CONFKEY, tableNames, upsertExecutor, upsertListener
Constructor and Description |
---|
JsonToKeyValueMapper() |
Modifier and Type | Method and Description |
---|---|
protected UpsertExecutor<Map<?,?>,?> |
buildUpsertExecutor(org.apache.hadoop.conf.Configuration conf) |
protected FormatToBytesWritableMapper.LineParser<Map<?,?>> |
getLineParser() |
protected void |
setup(org.apache.hadoop.mapreduce.Mapper.Context context) |
cleanup, map
protected FormatToBytesWritableMapper.LineParser<Map<?,?>> getLineParser()
getLineParser
in class FormatToBytesWritableMapper<Map<?,?>>
protected void setup(org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
setup
in class FormatToBytesWritableMapper<Map<?,?>>
IOException
InterruptedException
protected UpsertExecutor<Map<?,?>,?> buildUpsertExecutor(org.apache.hadoop.conf.Configuration conf)
buildUpsertExecutor
in class FormatToBytesWritableMapper<Map<?,?>>
Copyright © 2019 Apache Software Foundation. All Rights Reserved.