Class RowCell (2.39.0)

public abstract class RowCell implements Serializable

Default representation of a cell in a Row.

Inheritance

java.lang.Object > RowCell

Implements

Serializable

Static 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.

Returns
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.

Parameters
Name Description
family String
qualifier ByteString
timestamp long
labels List<String>
value ByteString
Returns
Type Description
RowCell

Constructors

RowCell()

public RowCell()

Methods

getFamily()

public abstract String getFamily()

The cell's family

Returns
Type Description
String

getLabels()

public abstract List<String> getLabels()

The labels assigned to the cell See Also: Filters#label(String)

Returns
Type Description
List<String>

getQualifier()

public abstract ByteString getQualifier()

The cell's qualifier (column name)

Returns
Type Description
ByteString

getTimestamp()

public abstract long getTimestamp()

The timestamp of the cell

Returns
Type Description
long

getValue()

public abstract ByteString getValue()

The value of the cell

Returns
Type Description
ByteString