Package com.google.spanner.v1
Interface ChangeStreamRecord.PartitionStartRecordOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ChangeStreamRecord.PartitionStartRecord,ChangeStreamRecord.PartitionStartRecord.Builder
- Enclosing class:
- ChangeStreamRecord
public static interface ChangeStreamRecord.PartitionStartRecordOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetPartitionTokens(int index) Unique partition identifiers to be used in queries.com.google.protobuf.ByteStringgetPartitionTokensBytes(int index) Unique partition identifiers to be used in queries.intUnique partition identifiers to be used in queries.Unique partition identifiers to be used in queries.Record sequence numbers are unique and monotonically increasing (but not necessarily contiguous) for a specific timestamp across record types in the same partition.com.google.protobuf.ByteStringRecord sequence numbers are unique and monotonically increasing (but not necessarily contiguous) for a specific timestamp across record types in the same partition.com.google.protobuf.TimestampStart timestamp at which the partitions should be queried to return change stream records with timestamps >= start_timestamp.com.google.protobuf.TimestampOrBuilderStart timestamp at which the partitions should be queried to return change stream records with timestamps >= start_timestamp.booleanStart timestamp at which the partitions should be queried to return change stream records with timestamps >= start_timestamp.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasStartTimestamp
boolean hasStartTimestamp()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.
.google.protobuf.Timestamp start_timestamp = 1;- Returns:
- Whether the startTimestamp field is set.
-
getStartTimestamp
com.google.protobuf.Timestamp getStartTimestamp()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.
.google.protobuf.Timestamp start_timestamp = 1;- Returns:
- The startTimestamp.
-
getStartTimestampOrBuilder
com.google.protobuf.TimestampOrBuilder getStartTimestampOrBuilder()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.
.google.protobuf.Timestamp start_timestamp = 1; -
getRecordSequence
String getRecordSequence()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.
string record_sequence = 2;- Returns:
- The recordSequence.
-
getRecordSequenceBytes
com.google.protobuf.ByteString getRecordSequenceBytes()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.
string record_sequence = 2;- Returns:
- The bytes for recordSequence.
-
getPartitionTokensList
Unique partition identifiers to be used in queries.
repeated string partition_tokens = 3;- Returns:
- A list containing the partitionTokens.
-
getPartitionTokensCount
int getPartitionTokensCount()Unique partition identifiers to be used in queries.
repeated string partition_tokens = 3;- Returns:
- The count of partitionTokens.
-
getPartitionTokens
Unique partition identifiers to be used in queries.
repeated string partition_tokens = 3;- Parameters:
index- The index of the element to return.- Returns:
- The partitionTokens at the given index.
-
getPartitionTokensBytes
com.google.protobuf.ByteString getPartitionTokensBytes(int index) Unique partition identifiers to be used in queries.
repeated string partition_tokens = 3;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the partitionTokens at the given index.
-