Import.CellImporter. Will be removed from 3.0 onwards@Deprecated public static class Import.KeyValueImporter extends TableMapper<ImmutableBytesWritable,KeyValue>
| Modifier and Type | Field and Description |
|---|---|
private Map<byte[],byte[]> |
cfRenameMap
Deprecated.
|
private Filter |
filter
Deprecated.
|
private static org.slf4j.Logger |
LOG
Deprecated.
|
| Constructor and Description |
|---|
KeyValueImporter()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
map(ImmutableBytesWritable row,
Result value,
org.apache.hadoop.mapreduce.Mapper.Context context)
Deprecated.
|
void |
setup(org.apache.hadoop.mapreduce.Mapper.Context context)
Deprecated.
|
private Map<byte[],byte[]> cfRenameMap
private static final org.slf4j.Logger LOG
public KeyValueImporter()
public void map(ImmutableBytesWritable row, Result value, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException
map in class org.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable,Result,ImmutableBytesWritable,KeyValue>row - The current table row key.value - The columns.context - The current context.IOException - When something is broken with the data.public void setup(org.apache.hadoop.mapreduce.Mapper.Context context)
setup in class org.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable,Result,ImmutableBytesWritable,KeyValue>Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.