Cloud Bigtable V2 Client - Class Row (1.23.0)

Reference documentation and code samples for the Cloud Bigtable V2 Client class Row.

Specifies the complete (requested) contents of a single row of a table.

Rows which exceed 256MiB in size cannot be read in full.

Generated from protobuf message google.bigtable.v2.Row

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ key string

The unique key which identifies this row within its table. This is the same key that's used to identify the row in, for example, a MutateRowRequest. May contain any non-empty byte string up to 4KiB in length.

↳ families array<Google\Cloud\Bigtable\V2\Family>

May be empty, but only if the entire row is empty. The mutual ordering of column families is not specified.

getKey

The unique key which identifies this row within its table. This is the same key that's used to identify the row in, for example, a MutateRowRequest.

May contain any non-empty byte string up to 4KiB in length.

Returns
TypeDescription
string

setKey

The unique key which identifies this row within its table. This is the same key that's used to identify the row in, for example, a MutateRowRequest.

May contain any non-empty byte string up to 4KiB in length.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFamilies

May be empty, but only if the entire row is empty.

The mutual ordering of column families is not specified.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setFamilies

May be empty, but only if the entire row is empty.

The mutual ordering of column families is not specified.

Parameter
NameDescription
var array<Google\Cloud\Bigtable\V2\Family>
Returns
TypeDescription
$this