Cloud Bigtable V2 Client - Class Mutation (1.23.0)

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

Specifies a particular change to be made to the contents of a row.

Generated from protobuf message google.bigtable.v2.Mutation

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ set_cell Google\Cloud\Bigtable\V2\Mutation\SetCell

Set a cell's value.

↳ delete_from_column Google\Cloud\Bigtable\V2\Mutation\DeleteFromColumn

Deletes cells from a column.

↳ delete_from_family Google\Cloud\Bigtable\V2\Mutation\DeleteFromFamily

Deletes cells from a column family.

↳ delete_from_row Google\Cloud\Bigtable\V2\Mutation\DeleteFromRow

Deletes cells from the entire row.

getSetCell

Set a cell's value.

Returns
TypeDescription
Google\Cloud\Bigtable\V2\Mutation\SetCell|null

hasSetCell

setSetCell

Set a cell's value.

Parameter
NameDescription
var Google\Cloud\Bigtable\V2\Mutation\SetCell
Returns
TypeDescription
$this

getDeleteFromColumn

Deletes cells from a column.

Returns
TypeDescription
Google\Cloud\Bigtable\V2\Mutation\DeleteFromColumn|null

hasDeleteFromColumn

setDeleteFromColumn

Deletes cells from a column.

Parameter
NameDescription
var Google\Cloud\Bigtable\V2\Mutation\DeleteFromColumn
Returns
TypeDescription
$this

getDeleteFromFamily

Deletes cells from a column family.

Returns
TypeDescription
Google\Cloud\Bigtable\V2\Mutation\DeleteFromFamily|null

hasDeleteFromFamily

setDeleteFromFamily

Deletes cells from a column family.

Parameter
NameDescription
var Google\Cloud\Bigtable\V2\Mutation\DeleteFromFamily
Returns
TypeDescription
$this

getDeleteFromRow

Deletes cells from the entire row.

Returns
TypeDescription
Google\Cloud\Bigtable\V2\Mutation\DeleteFromRow|null

hasDeleteFromRow

setDeleteFromRow

Deletes cells from the entire row.

Parameter
NameDescription
var Google\Cloud\Bigtable\V2\Mutation\DeleteFromRow
Returns
TypeDescription
$this

getMutation

Returns
TypeDescription
string