Cloud Bigtable V2 Client - Class Row (2.4.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
Name Description
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
Type Description
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
Name Description
var string
Returns
Type Description
$this

getFamilies

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

The mutual ordering of column families is not specified.

Returns
Type Description
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
Name Description
var array<Google\Cloud\Bigtable\V2\Family>
Returns
Type Description
$this