Reference documentation and code samples for the Cloud Bigtable V2 Client class Entry.
A mutation for a given row.
Generated from protobuf message google.bigtable.v2.SessionMutateRowsRequest.Entry
Namespace
Google \ Cloud \ Bigtable \ V2 \ SessionMutateRowsRequestMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ key |
string
The key of the row to which the |
↳ mutations |
array<Google\Cloud\Bigtable\V2\Mutation>
Changes to be atomically applied to the specified row. |
↳ idempotency |
Google\Cloud\Bigtable\V2\Idempotency
The idempotency of the mutation. |
getKey
The key of the row to which the mutations should be applied.
| Returns | |
|---|---|
| Type | Description |
string |
|
setKey
The key of the row to which the mutations should be applied.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMutations
Changes to be atomically applied to the specified row.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<Google\Cloud\Bigtable\V2\Mutation> |
|
setMutations
Changes to be atomically applied to the specified row.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Google\Cloud\Bigtable\V2\Mutation>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIdempotency
The idempotency of the mutation.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\Bigtable\V2\Idempotency|null |
|
hasIdempotency
clearIdempotency
setIdempotency
The idempotency of the mutation.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\Bigtable\V2\Idempotency
|
| Returns | |
|---|---|
| Type | Description |
$this |
|