protected static class TableOutputFormat.TableRecordWriter extends Object implements org.apache.hadoop.mapred.RecordWriter<ImmutableBytesWritable,Put>
| Constructor and Description |
|---|
TableOutputFormat.TableRecordWriter(HTable table)
Instantiate a TableRecordWriter with the HBase HClient for writing.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close(org.apache.hadoop.mapred.Reporter reporter) |
void |
write(ImmutableBytesWritable key,
Put value) |
public TableOutputFormat.TableRecordWriter(HTable table)
table - public void close(org.apache.hadoop.mapred.Reporter reporter)
throws IOException
close in interface org.apache.hadoop.mapred.RecordWriter<ImmutableBytesWritable,Put>IOExceptionpublic void write(ImmutableBytesWritable key, Put value) throws IOException
write in interface org.apache.hadoop.mapred.RecordWriter<ImmutableBytesWritable,Put>IOExceptionCopyright © 2014 The Apache Software Foundation. All rights reserved.