Cloud Bigtable V2 Client - Class Entry (1.31.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
Name Description
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
Type Description
string

setRowKey

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

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