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 a Row.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    A comparator that compares the cells by Bigtable native ordering: Family lexicographically ascending Qualifier lexicographically ascending Timestamp in reverse chronological order
    static RowCell
    create(String family, com.google.protobuf.ByteString qualifier, long timestamp, List<String> labels, com.google.protobuf.ByteString value)
    Creates a new instance of the RowCell.
    abstract String
    The cell's family
    abstract List<String>
    The labels assigned to the cell
    abstract com.google.protobuf.ByteString
    The cell's qualifier (column name)
    abstract long
    The timestamp of the cell
    abstract com.google.protobuf.ByteString
    The value of the cell

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RowCell

      public RowCell()
  • Method Details

    • 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 the RowCell.
    • getFamily

      @Nonnull public abstract String getFamily()
      The cell's family
    • 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: