Class WALPlayer.WALCellMapper
java.lang.Object
org.apache.hadoop.mapreduce.Mapper<WALKey,WALEdit,ImmutableBytesWritable,Cell>
org.apache.hadoop.hbase.mapreduce.WALPlayer.WALCellMapper
- Enclosing class:
- WALPlayer
static class WALPlayer.WALCellMapper
extends org.apache.hadoop.mapreduce.Mapper<WALKey,WALEdit,ImmutableBytesWritable,Cell>
A mapper that just writes out Cells. This one can be used together with
CellSortReducer
-
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
(WALKey key, WALEdit value, org.apache.hadoop.mapreduce.Mapper<WALKey, WALEdit, ImmutableBytesWritable, Cell>.org.apache.hadoop.mapreduce.Mapper.Context context) void
setup
(org.apache.hadoop.mapreduce.Mapper<WALKey, WALEdit, ImmutableBytesWritable, Cell>.org.apache.hadoop.mapreduce.Mapper.Context context) Methods inherited from class org.apache.hadoop.mapreduce.Mapper
cleanup, run
-
Field Details
-
tableSet
-
multiTableSupport
-
-
Constructor Details
-
WALCellMapper
-
-
Method Details
-
map
public void map(WALKey key, WALEdit value, org.apache.hadoop.mapreduce.Mapper<WALKey, WALEdit, throws IOExceptionImmutableBytesWritable, Cell>.org.apache.hadoop.mapreduce.Mapper.Context context) - Overrides:
map
in classorg.apache.hadoop.mapreduce.Mapper<WALKey,
WALEdit, ImmutableBytesWritable, Cell> - Throws:
IOException
-
setup
public void setup(org.apache.hadoop.mapreduce.Mapper<WALKey, WALEdit, throws IOExceptionImmutableBytesWritable, Cell>.org.apache.hadoop.mapreduce.Mapper.Context context) - Overrides:
setup
in classorg.apache.hadoop.mapreduce.Mapper<WALKey,
WALEdit, ImmutableBytesWritable, Cell> - Throws:
IOException
-