Cloud Bigtable V2 Client - Class Mutation (2.6.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

Namespace

Google \ Cloud \ Bigtable \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ set_cell Mutation\SetCell

Set a cell's value.

↳ add_to_cell Mutation\AddToCell

Incrementally updates an Aggregate cell.

↳ merge_to_cell Mutation\MergeToCell

Merges accumulated state to an Aggregate cell.

↳ delete_from_column Mutation\DeleteFromColumn

Deletes cells from a column.

↳ delete_from_family Mutation\DeleteFromFamily

Deletes cells from a column family.

↳ delete_from_row Mutation\DeleteFromRow

Deletes cells from the entire row.

getSetCell

Set a cell's value.

Returns
Type Description
Mutation\SetCell|null

hasSetCell

setSetCell

Set a cell's value.

Parameter
Name Description
var Mutation\SetCell
Returns
Type Description
$this

getAddToCell

Incrementally updates an Aggregate cell.

Returns
Type Description
Mutation\AddToCell|null

hasAddToCell

setAddToCell

Incrementally updates an Aggregate cell.

Parameter
Name Description
var Mutation\AddToCell
Returns
Type Description
$this

getMergeToCell

Merges accumulated state to an Aggregate cell.

Returns
Type Description
Mutation\MergeToCell|null

hasMergeToCell

setMergeToCell

Merges accumulated state to an Aggregate cell.

Parameter
Name Description
var Mutation\MergeToCell
Returns
Type Description
$this

getDeleteFromColumn

Deletes cells from a column.

Returns
Type Description
Mutation\DeleteFromColumn|null

hasDeleteFromColumn

setDeleteFromColumn

Deletes cells from a column.

Parameter
Name Description
var Mutation\DeleteFromColumn
Returns
Type Description
$this

getDeleteFromFamily

Deletes cells from a column family.

Returns
Type Description
Mutation\DeleteFromFamily|null

hasDeleteFromFamily

setDeleteFromFamily

Deletes cells from a column family.

Parameter
Name Description
var Mutation\DeleteFromFamily
Returns
Type Description
$this

getDeleteFromRow

Deletes cells from the entire row.

Returns
Type Description
Mutation\DeleteFromRow|null

hasDeleteFromRow

setDeleteFromRow

Deletes cells from the entire row.

Parameter
Name Description
var Mutation\DeleteFromRow
Returns
Type Description
$this

getMutation

Returns
Type Description
string