Reference documentation and code samples for the Cloud Spanner V1 Client class MoveInEvent.
Describes move-in of the key ranges into the change stream partition identified by partition_token.
To maintain processing the changes for a particular key in timestamp order, the query processing the change stream partition identified by partition_token should not advance beyond the partition event record commit timestamp until the queries processing the source change stream partitions have processed all change stream records with timestamps <= the partition event record commit timestamp.
Generated from protobuf message google.spanner.v1.ChangeStreamRecord.PartitionEventRecord.MoveInEvent
Namespace
Google \ Cloud \ Spanner \ V1 \ ChangeStreamRecord \ PartitionEventRecordMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ source_partition_token |
string
An unique partition identifier describing the source change stream partition that recorded changes for the key range that is moving into this partition. |
getSourcePartitionToken
An unique partition identifier describing the source change stream partition that recorded changes for the key range that is moving into this partition.
Returns | |
---|---|
Type | Description |
string |
setSourcePartitionToken
An unique partition identifier describing the source change stream partition that recorded changes for the key range that is moving into this partition.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |