Cloud Bigtable V2 Client - Class Entry (1.24.1)

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

A mutation for a given row.

Generated from protobuf message google.bigtable.v2.MutateRowsRequest.Entry

Namespace

Google \ Cloud \ Bigtable \ V2 \ MutateRowsRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ row_key string

The key of the row to which the mutations should be applied.

↳ mutations array<Google\Cloud\Bigtable\V2\Mutation>

Required. Changes to be atomically applied to the specified row. Mutations are applied in order, meaning that earlier mutations can be masked by later ones. You must specify at least one mutation.

getRowKey

The key of the row to which the mutations should be applied.

Returns
TypeDescription
string

setRowKey

The key of the row to which the mutations should be applied.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMutations

Required. Changes to be atomically applied to the specified row.

Mutations are applied in order, meaning that earlier mutations can be masked by later ones. You must specify at least one mutation.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setMutations

Required. Changes to be atomically applied to the specified row.

Mutations are applied in order, meaning that earlier mutations can be masked by later ones. You must specify at least one mutation.

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