Class RowCell
- java.lang.Object
-
- com.google.cloud.bigtable.data.v2.models.RowCell
-
- All Implemented Interfaces:
Serializable
@InternalExtensionOnly public abstract class RowCell extends Object implements Serializable
Default representation of a cell in aRow
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RowCell()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static Comparator<RowCell>
compareByNative()
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
getFamily()
The cell's familyabstract List<String>
getLabels()
The labels assigned to the cellabstract com.google.protobuf.ByteString
getQualifier()
The cell's qualifier (column name)abstract long
getTimestamp()
The timestamp of the cellabstract com.google.protobuf.ByteString
getValue()
The value of the cell
-
-
-
Method Detail
-
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.
-
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
.
-
getQualifier
@Nonnull public abstract com.google.protobuf.ByteString getQualifier()
The cell's qualifier (column name)
-
getTimestamp
public abstract long getTimestamp()
The timestamp of the cell
-
getValue
@Nonnull public abstract com.google.protobuf.ByteString getValue()
The value of the cell
-
getLabels
@Nonnull public abstract List<String> getLabels()
The labels assigned to the cell- See Also:
Filters.label(String)
-
-