public abstract class RowCell implements Serializable
Default representation of a cell in a Row.
Implements
SerializableStatic Methods
compareByNative()
public static Comparator<RowCell> compareByNative()
A comparator that compares the cells by Bigtable native ordering:
- Family lexicographically ascending
- Qualifier lexicographically ascending
- Timestamp in reverse chronological order
Labels and values are not included in the comparison.
Type | Description |
Comparator<RowCell> |
create(String family, ByteString qualifier, long timestamp, List<String> labels, ByteString value)
public static RowCell create(String family, ByteString qualifier, long timestamp, List<String> labels, ByteString value)
Creates a new instance of the RowCell.
Name | Description |
family | String |
qualifier | ByteString |
timestamp | long |
labels | List<String> |
value | ByteString |
Type | Description |
RowCell |
Constructors
RowCell()
public RowCell()
Methods
getFamily()
public abstract String getFamily()
The cell's family
Type | Description |
String |
getLabels()
public abstract List<String> getLabels()
The labels assigned to the cell See Also: Filters#label(String)
Type | Description |
List<String> |
getQualifier()
public abstract ByteString getQualifier()
The cell's qualifier (column name)
Type | Description |
ByteString |
getTimestamp()
public abstract long getTimestamp()
The timestamp of the cell
Type | Description |
long |
getValue()
public abstract ByteString getValue()
The value of the cell
Type | Description |
ByteString |