Class Import.CellSortImporter
java.lang.Object
org.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable,Result,KEYOUT,VALUEOUT>
org.apache.hadoop.hbase.mapreduce.TableMapper<Import.CellWritableComparable,Cell>
org.apache.hadoop.hbase.mapreduce.Import.CellSortImporter
- Enclosing class:
- Import
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper
org.apache.hadoop.mapreduce.Mapper.Context
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
map
(ImmutableBytesWritable row, Result value, org.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable, Result, Import.CellWritableComparable, Cell>.org.apache.hadoop.mapreduce.Mapper.Context context) void
setup
(org.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable, Result, Import.CellWritableComparable, Cell>.org.apache.hadoop.mapreduce.Mapper.Context context) Methods inherited from class org.apache.hadoop.mapreduce.Mapper
cleanup, run
-
Field Details
-
cfRenameMap
-
filter
-
LOG
-
-
Constructor Details
-
CellSortImporter
public CellSortImporter()
-
-
Method Details
-
map
public void map(ImmutableBytesWritable row, Result value, org.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable, Result, throws IOExceptionImport.CellWritableComparable, Cell>.org.apache.hadoop.mapreduce.Mapper.Context context) - Overrides:
map
in classorg.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable,
Result, Import.CellWritableComparable, Cell> - Parameters:
row
- The current table row key.value
- The columns.context
- The current context.- Throws:
IOException
- When something is broken with the data.
-
setup
public void setup(org.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable, Result, throws IOExceptionImport.CellWritableComparable, Cell>.org.apache.hadoop.mapreduce.Mapper.Context context) - Overrides:
setup
in classorg.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable,
Result, Import.CellWritableComparable, Cell> - Throws:
IOException
-