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.
| Parameters | |
|---|---|
| Name | Description |
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 |
↳ value |
string
The value stored in the cell. May contain any byte string, including the empty string, up to 100MiB in length. |
↳ labels |
array
Labels applied to the cell by a RowFilter. |
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.
| Returns | |
|---|---|
| Type | Description |
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.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getValue
The value stored in the cell.
May contain any byte string, including the empty string, up to 100MiB in length.
| Returns | |
|---|---|
| Type | Description |
string |
|
setValue
The value stored in the cell.
May contain any byte string, including the empty string, up to 100MiB in length.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLabels
Labels applied to the cell by a RowFilter.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setLabels
Labels applied to the cell by a RowFilter.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|