public static class Import.CellSortImporter extends TableMapper<Import.CellWritableComparable,Cell>
Modifier and Type | Field and Description |
---|---|
private Map<byte[],byte[]> |
cfRenameMap |
private Filter |
filter |
private static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
CellSortImporter() |
Modifier and Type | Method and Description |
---|---|
void |
map(ImmutableBytesWritable row,
Result value,
org.apache.hadoop.mapreduce.Mapper.Context context) |
void |
setup(org.apache.hadoop.mapreduce.Mapper.Context context) |
private Map<byte[],byte[]> cfRenameMap
private static final org.slf4j.Logger LOG
public CellSortImporter()
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,Import.CellWritableComparable,Cell>
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) throws IOException
setup
in class org.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable,Result,Import.CellWritableComparable,Cell>
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.