Reference documentation and code samples for the Cloud Spanner V1 Client class PartitionResponse.
The response for PartitionQuery or PartitionRead
Generated from protobuf message google.spanner.v1.PartitionResponse
Namespace
Google \ Cloud \ Spanner \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ partitions |
array<Partition>
Partitions created by this request. |
↳ transaction |
Transaction
Transaction created by this request. |
getPartitions
Partitions created by this request.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setPartitions
Partitions created by this request.
Parameter | |
---|---|
Name | Description |
var |
array<Partition>
|
Returns | |
---|---|
Type | Description |
$this |
getTransaction
Transaction created by this request.
Returns | |
---|---|
Type | Description |
Transaction|null |
hasTransaction
clearTransaction
setTransaction
Transaction created by this request.
Parameter | |
---|---|
Name | Description |
var |
Transaction
|
Returns | |
---|---|
Type | Description |
$this |