Show / Hide Table of Contents

Class ChangeStreamRecord

Spanner Change Streams enable customers to capture and stream out changes to their Spanner databases in real-time. A change stream can be created with option partition_mode='IMMUTABLE_KEY_RANGE' or partition_mode='MUTABLE_KEY_RANGE'. This message is only used in Change Streams created with the option partition_mode='MUTABLE_KEY_RANGE'. Spanner automatically creates a special Table-Valued Function (TVF) along with each Change Streams. The function provides access to the change stream's records. The function is named READ_ (where is the name of the change stream), and it returns a table with only one column called ChangeRecord.

Inheritance
object
ChangeStreamRecord
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Spanner.v1.Data
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class ChangeStreamRecord : IDirectResponseSchema

Properties

DataChangeRecord

Data change record describing a data change for a change stream partition.

Declaration
[JsonProperty("dataChangeRecord")]
public virtual DataChangeRecord DataChangeRecord { get; set; }
Property Value
Type Description
DataChangeRecord

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

HeartbeatRecord

Heartbeat record describing a heartbeat for a change stream partition.

Declaration
[JsonProperty("heartbeatRecord")]
public virtual HeartbeatRecord HeartbeatRecord { get; set; }
Property Value
Type Description
HeartbeatRecord

PartitionEndRecord

Partition end record describing a terminated change stream partition.

Declaration
[JsonProperty("partitionEndRecord")]
public virtual PartitionEndRecord PartitionEndRecord { get; set; }
Property Value
Type Description
PartitionEndRecord

PartitionEventRecord

Partition event record describing key range changes for a change stream partition.

Declaration
[JsonProperty("partitionEventRecord")]
public virtual PartitionEventRecord PartitionEventRecord { get; set; }
Property Value
Type Description
PartitionEventRecord

PartitionStartRecord

Partition start record describing a new change stream partition.

Declaration
[JsonProperty("partitionStartRecord")]
public virtual PartitionStartRecord PartitionStartRecord { get; set; }
Property Value
Type Description
PartitionStartRecord

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX