Class Import.CellImporter
java.lang.Object
org.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable,Result,KEYOUT,VALUEOUT>
org.apache.hadoop.hbase.mapreduce.TableMapper<ImmutableBytesWritable,Cell>
org.apache.hadoop.hbase.mapreduce.Import.CellImporter
- Enclosing class:
- Import
A mapper that just writes out KeyValues.
-
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, ImmutableBytesWritable, Cell>.org.apache.hadoop.mapreduce.Mapper.Context context) void
setup
(org.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable, Result, ImmutableBytesWritable, 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
-
CellImporter
public CellImporter()
-
-
Method Details
-
map
public void map(ImmutableBytesWritable row, Result value, org.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable, Result, throws IOExceptionImmutableBytesWritable, Cell>.org.apache.hadoop.mapreduce.Mapper.Context context) - Overrides:
map
in classorg.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable,
Result, ImmutableBytesWritable, 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, ImmutableBytesWritable, Cell>.org.apache.hadoop.mapreduce.Mapper.Context context) - Overrides:
setup
in classorg.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable,
Result, ImmutableBytesWritable, Cell>
-