Reference documentation and code samples for the Cloud Bigtable Client class Mutations.
Represents a Mutation to perform data operation on Bigtable table.
This is used to insert,update, delete operation on row in Bigtable table.
Methods
upsert
Creates Insert/Update mutation for a row.
Parameters | |
---|---|
Name | Description |
family |
string
Family name of the row. |
qualifier |
string
Column qualifier of the row. |
value |
string
Value of the column qualifier. |
timeStamp |
string|int
[optional] A timestamp value, in microseconds.
Use the value |
Returns | |
---|---|
Type | Description |
Google\Cloud\Bigtable\Mutations | returns current Mutations object. |
deleteFromFamily
Creates delete from family mutation for a row.
Parameter | |
---|---|
Name | Description |
family |
string
Family name of the row. |
Returns | |
---|---|
Type | Description |
Google\Cloud\Bigtable\Mutations | returns current Mutations object. |
deleteFromColumn
Creates delete from column mutation for a row.
Parameters | |
---|---|
Name | Description |
family |
string
Family name of the row. |
qualifier |
string
Column qualifier of the row. |
timeRange |
array
[optional] Array of values value, in microseconds to
delete from column, keyed by |
Returns | |
---|---|
Type | Description |
Google\Cloud\Bigtable\Mutations | returns current Mutations object. |
deleteRow
Creates delete row mutation for a row.
Returns | |
---|---|
Type | Description |
Google\Cloud\Bigtable\Mutations | returns current Mutations object. |
toProto
Returns protobuf representation of Mutations.
Returns | |
---|---|
Type | Description |
array | returns array of protobuf representation of Mutations. |