public interface Column<T>
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getColumnFamilyBytes()
Returns column family name(as bytes) associated with this column.
|
byte[] |
getColumnQualifierBytes()
Get byte representation for this column qualifier.
|
ValueConverter |
getValueConverter()
Returns value converter implementation associated with this column.
|
Object |
readResult(org.apache.hadoop.hbase.client.Result result)
Get the latest version of this specified column.
|
void |
store(byte[] rowKey,
TypedBufferedMutator<T> tableMutator,
Long timestamp,
Object inputValue,
Attribute... attributes)
Sends a Mutation to the table.
|
void store(byte[] rowKey,
TypedBufferedMutator<T> tableMutator,
Long timestamp,
Object inputValue,
Attribute... attributes)
throws IOException
rowKey - identifying the row to write. Nothing gets written when null.tableMutator - used to modify the underlying HBase table. Caller is
responsible to pass a mutator for the table that actually has this
column.timestamp - version timestamp. When null the server timestamp will be
used.attributes - Map of attributes for this mutation. used in the
coprocessor to set/read the cell tags. Can be null.inputValue - the value to write to the rowKey and column qualifier.
Nothing gets written when null.IOException - if there is any exception encountered during store.Object readResult(org.apache.hadoop.hbase.client.Result result) throws IOException
Cell.result - Cannot be nullIOException - if there is any exception encountered while reading
result.byte[] getColumnFamilyBytes()
byte[] getColumnQualifierBytes()
ValueConverter getValueConverter()
ValueConverter implementation.Copyright © 2018 Apache Software Foundation. All Rights Reserved.