Cloud Bigtable V2 Client - Class Entry (2.16.0)

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.

↳ idempotency Google\Cloud\Bigtable\V2\Idempotency

If set consistently across retries, prevents this mutation from being double applied to aggregate column families within a 15m window.

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

getIdempotency

If set consistently across retries, prevents this mutation from being double applied to aggregate column families within a 15m window.

Returns
Type Description
Google\Cloud\Bigtable\V2\Idempotency|null

hasIdempotency

clearIdempotency

setIdempotency

If set consistently across retries, prevents this mutation from being double applied to aggregate column families within a 15m window.

Parameter
Name Description
var Google\Cloud\Bigtable\V2\Idempotency
Returns
Type Description
$this