Google Cloud Spanner v1 API - Class ChangeStreamRecord.Types.PartitionStartRecord (5.13.0-beta09)

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

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

A partition start record serves as a notification that the client should schedule the partitions to be queried. PartitionStartRecord returns information about one or more partitions.

Inheritance

object > ChangeStreamRecord.Types.PartitionStartRecord

Namespace

Google.Cloud.Spanner.V1

Assembly

Google.Cloud.Spanner.V1.dll

Constructors

PartitionStartRecord()

public PartitionStartRecord()

PartitionStartRecord(PartitionStartRecord)

public PartitionStartRecord(ChangeStreamRecord.Types.PartitionStartRecord other)
Parameter
Name Description
other ChangeStreamRecordTypesPartitionStartRecord

Properties

PartitionTokens

public RepeatedField<string> PartitionTokens { get; }

Unique partition identifiers to be used in queries.

Property Value
Type Description
RepeatedFieldstring

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

StartTimestamp

public Timestamp StartTimestamp { get; set; }

Start timestamp at which the partitions should be queried to return change stream records with timestamps >= start_timestamp. DataChangeRecord.commit_timestamps, PartitionStartRecord.start_timestamps, PartitionEventRecord.commit_timestamps, and PartitionEndRecord.end_timestamps can have the same value in the same partition.

Property Value
Type Description
Timestamp