Cloud Bigtable V2 Client - Class Mutation (2.2.1)

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

Namespace

Google \ Cloud \ Bigtable \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

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

Set a cell's value.

↳ add_to_cell Google\Cloud\Bigtable\V2\Mutation\AddToCell

Incrementally updates an Aggregate cell.

↳ merge_to_cell Google\Cloud\Bigtable\V2\Mutation\MergeToCell

Merges accumulated state to an Aggregate cell.

↳ 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
Type Description
Google\Cloud\Bigtable\V2\Mutation\SetCell|null

hasSetCell

setSetCell

Set a cell's value.

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

getAddToCell

Incrementally updates an Aggregate cell.

Returns
Type Description
Google\Cloud\Bigtable\V2\Mutation\AddToCell|null

hasAddToCell

setAddToCell

Incrementally updates an Aggregate cell.

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

getMergeToCell

Merges accumulated state to an Aggregate cell.

Returns
Type Description
Google\Cloud\Bigtable\V2\Mutation\MergeToCell|null

hasMergeToCell

setMergeToCell

Merges accumulated state to an Aggregate cell.

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

getDeleteFromColumn

Deletes cells from a column.

Returns
Type Description
Google\Cloud\Bigtable\V2\Mutation\DeleteFromColumn|null

hasDeleteFromColumn

setDeleteFromColumn

Deletes cells from a column.

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

getDeleteFromFamily

Deletes cells from a column family.

Returns
Type Description
Google\Cloud\Bigtable\V2\Mutation\DeleteFromFamily|null

hasDeleteFromFamily

setDeleteFromFamily

Deletes cells from a column family.

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

getDeleteFromRow

Deletes cells from the entire row.

Returns
Type Description
Google\Cloud\Bigtable\V2\Mutation\DeleteFromRow|null

hasDeleteFromRow

setDeleteFromRow

Deletes cells from the entire row.

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

getMutation

Returns
Type Description
string