Class RowCell (2.37.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
TypeDescription
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
NameDescription
familyString
qualifierByteString
timestamplong
labelsList<String>
valueByteString
Returns
TypeDescription
RowCell

Constructors

RowCell()

public RowCell()

Methods

getFamily()

public abstract String getFamily()

The cell's family

Returns
TypeDescription
String

getLabels()

public abstract List<String> getLabels()

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

Returns
TypeDescription
List<String>

getQualifier()

public abstract ByteString getQualifier()

The cell's qualifier (column name)

Returns
TypeDescription
ByteString

getTimestamp()

public abstract long getTimestamp()

The timestamp of the cell

Returns
TypeDescription
long

getValue()

public abstract ByteString getValue()

The value of the cell

Returns
TypeDescription
ByteString