public class CellValues extends Object
While the HBase client Result structure is great and extremely flexible, it is not something we want to incrementally add qualifiers, values to during repeated read operations, and not something we can create from data in memory.
| Constructor and Description |
|---|
CellValues(byte[] rowKey) |
CellValues(org.apache.hadoop.hbase.client.Result row) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAll(org.apache.hadoop.hbase.client.Result row) |
void |
addColumn(byte[] family,
byte[] qual,
byte[] value) |
void |
addColumn(org.apache.hadoop.hbase.KeyValue keyValue) |
void |
clear() |
boolean |
containsColumn(byte[] family,
byte[] qual) |
boolean |
equals(Object obj) |
byte[] |
getColumnValue(byte[] family,
byte[] qual) |
byte[] |
getRowKey() |
byte[] |
getRowKeyAsBytes() |
int |
hashCode() |
boolean |
isCompleteSelection() |
void |
setCompleteSelection(boolean completeSelection) |
String |
toString() |
public CellValues(org.apache.hadoop.hbase.client.Result row)
public CellValues(byte[] rowKey)
public boolean isCompleteSelection()
public void setCompleteSelection(boolean completeSelection)
public void addAll(org.apache.hadoop.hbase.client.Result row)
public void clear()
public byte[] getRowKey()
public byte[] getRowKeyAsBytes()
public void addColumn(org.apache.hadoop.hbase.KeyValue keyValue)
public void addColumn(byte[] family,
byte[] qual,
byte[] value)
public boolean containsColumn(byte[] family,
byte[] qual)
public byte[] getColumnValue(byte[] family,
byte[] qual)
Copyright © 2021. All Rights Reserved.