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 | |
---|---|
Name | Description |
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 | |
---|---|
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 |
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 |