Reference documentation and code samples for the Cloud Bigtable V2 Client class Cell.
Specifies (some of) the contents of a single row/column/timestamp of a table.
Generated from protobuf message google.bigtable.v2.Cell
Namespace
Google \ Cloud \ Bigtable \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ timestamp_micros
int|string
The cell's stored timestamp, which also uniquely identifies it within its column. Values are always expressed in microseconds, but individual tables may set a coarser granularity to further restrict the allowed values. For example, a table which specifies millisecond granularity will only allow values of timestamp_micros
which are multiples of 1000.
↳ value
string
The value stored in the cell. May contain any byte string, including the empty string, up to 100MiB in length.
↳ labels
getTimestampMicros
The cell's stored timestamp, which also uniquely identifies it within its column.
Values are always expressed in microseconds, but individual tables may set
a coarser granularity to further restrict the allowed values. For
example, a table which specifies millisecond granularity will only allow
values of timestamp_micros
which are multiples of 1000.
int|string
setTimestampMicros
The cell's stored timestamp, which also uniquely identifies it within its column.
Values are always expressed in microseconds, but individual tables may set
a coarser granularity to further restrict the allowed values. For
example, a table which specifies millisecond granularity will only allow
values of timestamp_micros
which are multiples of 1000.
var
int|string
$this
getValue
The value stored in the cell.
May contain any byte string, including the empty string, up to 100MiB in length.
string
setValue
The value stored in the cell.
May contain any byte string, including the empty string, up to 100MiB in length.
var
string
$this
getLabels
Labels applied to the cell by a RowFilter .
setLabels
Labels applied to the cell by a RowFilter .
var
string[]
$this