Class RowCell
java.lang.Object
com.google.cloud.bigtable.data.v2.models.RowCell
- All Implemented Interfaces:
Serializable
Default representation of a cell in a
Row
.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Comparator<RowCell>
A comparator that compares the cells by Bigtable native ordering: Family lexicographically ascending Qualifier lexicographically ascending Timestamp in reverse chronological orderstatic RowCell
create
(String family, com.google.protobuf.ByteString qualifier, long timestamp, List<String> labels, com.google.protobuf.ByteString value) Creates a new instance of theRowCell
.abstract String
The cell's familyThe labels assigned to the cellabstract com.google.protobuf.ByteString
The cell's qualifier (column name)abstract long
The timestamp of the cellabstract com.google.protobuf.ByteString
getValue()
The value of the cell
-
Constructor Details
-
RowCell
public RowCell()
-
-
Method Details
-
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.
-
create
@InternalApi public static RowCell create(@Nonnull String family, @Nonnull com.google.protobuf.ByteString qualifier, long timestamp, @Nonnull List<String> labels, @Nonnull com.google.protobuf.ByteString value) Creates a new instance of theRowCell
. -
getFamily
The cell's family -
getQualifier
The cell's qualifier (column name) -
getTimestamp
public abstract long getTimestamp()The timestamp of the cell -
getValue
The value of the cell -
getLabels
The labels assigned to the cell- See Also:
-