protected static class TableOutputFormat.TableRecordWriter extends Object implements org.apache.hadoop.mapred.RecordWriter<org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.hbase.client.Put>
| Constructor and Description |
|---|
TableRecordWriter(org.apache.hadoop.hbase.client.BufferedMutator mutator)
Deprecated.
Please use
#TableRecordWriter(JobConf) This version does not clean up
connections and will leak connections (removed in 2.0) |
TableRecordWriter(org.apache.hadoop.mapred.JobConf job)
Instantiate a TableRecordWriter with a BufferedMutator for batch writing.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close(org.apache.hadoop.mapred.Reporter reporter) |
void |
write(org.apache.hadoop.hbase.io.ImmutableBytesWritable key,
org.apache.hadoop.hbase.client.Put value) |
@Deprecated public TableRecordWriter(org.apache.hadoop.hbase.client.BufferedMutator mutator) throws IOException
#TableRecordWriter(JobConf) This version does not clean up
connections and will leak connections (removed in 2.0)IOExceptionpublic TableRecordWriter(org.apache.hadoop.mapred.JobConf job)
throws IOException
IOExceptionpublic void close(org.apache.hadoop.mapred.Reporter reporter)
throws IOException
close in interface org.apache.hadoop.mapred.RecordWriter<org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.hbase.client.Put>IOExceptionpublic void write(org.apache.hadoop.hbase.io.ImmutableBytesWritable key,
org.apache.hadoop.hbase.client.Put value)
throws IOException
write in interface org.apache.hadoop.mapred.RecordWriter<org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.hbase.client.Put>IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.