Class Import.KeyValueImporter
java.lang.Object
org.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable,Result,KEYOUT,VALUEOUT>
org.apache.hadoop.hbase.mapreduce.TableMapper<ImmutableBytesWritable,KeyValue>
org.apache.hadoop.hbase.mapreduce.Import.KeyValueImporter
- Enclosing class:
- Import
@Deprecated
public static class Import.KeyValueImporter
extends TableMapper<ImmutableBytesWritable,KeyValue>
Deprecated.
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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidmap(ImmutableBytesWritable row, Result value, org.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable, Result, ImmutableBytesWritable, KeyValue>.org.apache.hadoop.mapreduce.Mapper.Context context) Deprecated.voidsetup(org.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable, Result, ImmutableBytesWritable, KeyValue>.org.apache.hadoop.mapreduce.Mapper.Context context) Deprecated.Methods inherited from class org.apache.hadoop.mapreduce.Mapper
cleanup, run
-
Field Details
-
cfRenameMap
Deprecated. -
filter
Deprecated. -
LOG
Deprecated.
-
-
Constructor Details
-
KeyValueImporter
public KeyValueImporter()Deprecated.
-
-
Method Details
-
map
public void map(ImmutableBytesWritable row, Result value, org.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable, Result, throws IOExceptionImmutableBytesWritable, KeyValue>.org.apache.hadoop.mapreduce.Mapper.Context context) Deprecated.- Overrides:
mapin classorg.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable,Result, ImmutableBytesWritable, KeyValue> - 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, KeyValue>.org.apache.hadoop.mapreduce.Mapper.Context context) Deprecated.- Overrides:
setupin classorg.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable,Result, ImmutableBytesWritable, KeyValue>
-
Import.CellImporter. Will be removed from 3.0 onwards