Google Cloud Spanner v1 API - Class ChangeStreamRecord.Types.PartitionEndRecord (5.13.0-beta04)

public sealed class ChangeStreamRecord.Types.PartitionEndRecord : IMessage<ChangeStreamRecord.Types.PartitionEndRecord>, IEquatable<ChangeStreamRecord.Types.PartitionEndRecord>, IDeepCloneable<ChangeStreamRecord.Types.PartitionEndRecord>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Spanner v1 API class ChangeStreamRecord.Types.PartitionEndRecord.

A partition end record serves as a notification that the client should stop reading the partition. No further records are expected to be retrieved on it.

Inheritance

object > ChangeStreamRecord.Types.PartitionEndRecord

Namespace

Google.Cloud.Spanner.V1

Assembly

Google.Cloud.Spanner.V1.dll

Constructors

PartitionEndRecord()

public PartitionEndRecord()

PartitionEndRecord(PartitionEndRecord)

public PartitionEndRecord(ChangeStreamRecord.Types.PartitionEndRecord other)
Parameter
Name Description
other ChangeStreamRecordTypesPartitionEndRecord

Properties

EndTimestamp

public Timestamp EndTimestamp { get; set; }

End timestamp at which the change stream partition is terminated. All changes generated by this partition will have timestamps <= end_timestamp. DataChangeRecord.commit_timestamps, PartitionStartRecord.start_timestamps, PartitionEventRecord.commit_timestamps, and PartitionEndRecord.end_timestamps can have the same value in the same partition. PartitionEndRecord is the last record returned for a partition.

Property Value
Type Description
Timestamp

PartitionToken

public string PartitionToken { get; set; }

Unique partition identifier describing the terminated change stream partition. [partition_token][google.spanner.v1.ChangeStreamRecord.PartitionEndRecord.partition_token] is equal to the partition token of the change stream partition currently queried to return this PartitionEndRecord.

Property Value
Type Description
string

RecordSequence

public string RecordSequence { get; set; }

Record sequence numbers are unique and monotonically increasing (but not necessarily contiguous) for a specific timestamp across record types in the same partition. To guarantee ordered processing, the reader should process records (of potentially different types) in record_sequence order for a specific timestamp in the same partition.

Property Value
Type Description
string