@Experimental
Package org.apache.beam.sdk.io.gcp.spanner.changestreams.model
User models for the Spanner change stream API.
-
Interface Summary Interface Description ChangeStreamRecord Represents a Spanner Change Stream Record. -
Class Summary Class Description ChangeStreamRecordMetadata Holds internal execution metrics / metadata for the processedChangeStreamRecord
.ChangeStreamRecordMetadata.Builder ChildPartition A child partition represents a new partition that should be queried.ChildPartitionsRecord Represents a ChildPartitionsRecord.ColumnType Defines a column type from a Cloud Spanner table with the following information: column name, column type, flag indicating if column is primary key and column position in the table.DataChangeRecord A data change record encodes modifications to Cloud Spanner rows.HeartbeatRecord A heartbeat record serves as a notification that the change stream query has returned all changes for the partition less or equal to the record timestamp.InitialPartition Utility class to determine initial partition constants and methods.Mod Represents a modification in a table emitted within aDataChangeRecord
.PartitionMetadata Model for the partition metadata database table used in the Connector.PartitionMetadata.Builder Partition metadata builder for better user experience.TypeCode Represents a type of a column within Cloud Spanner. -
Enum Summary Enum Description ModType Represents the type of modification applied in theDataChangeRecord
.PartitionMetadata.State The state at which a partition can be in the system: CREATED: the partition has been created, but no query has been done against it yet.ValueCaptureType Represents the capture type of a change stream.