Reference documentation and code samples for the Cloud Spanner V1 Client class MoveOutEvent.
Describes move-out of the key ranges out of the change stream partition identified by partition_token.
To maintain processing the changes for a particular key in timestamp order, the query processing the MoveOutEvent in the partition identified by partition_token should inform the queries processing the destination partitions that they can unblock and proceed processing records past the commit_timestamp.
Generated from protobuf message google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveOutEvent
Namespace
Google \ Cloud \ Spanner \ V1 \ ChangeStreamRecord \ PartitionEventRecordMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ destination_partition_token |
string
An unique partition identifier describing the destination change stream partition that will record changes for the key range that is moving out of this partition. |
getDestinationPartitionToken
An unique partition identifier describing the destination change stream partition that will record changes for the key range that is moving out of this partition.
Returns | |
---|---|
Type | Description |
string |
setDestinationPartitionToken
An unique partition identifier describing the destination change stream partition that will record changes for the key range that is moving out of this partition.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |