Cloud Bigtable V2 Client - Class Row (2.1.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

Namespace

Google \ Cloud \ Bigtable \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ keystring

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.

↳ familiesarray<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
varstring
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
vararray<Google\Cloud\Bigtable\V2\Family>
Returns
TypeDescription
$this