public sealed class ReadChangeStreamResponse.Types.CloseStream : IMessage<ReadChangeStreamResponse.Types.CloseStream>, IEquatable<ReadChangeStreamResponse.Types.CloseStream>, IDeepCloneable<ReadChangeStreamResponse.Types.CloseStream>, IBufferMessage, IMessageReference documentation and code samples for the Google Bigtable v2 API class ReadChangeStreamResponse.Types.CloseStream.
A message indicating that the client should stop reading from the stream.
If status is OK and continuation_tokens & new_partitions are empty, the
stream has finished (for example if there was an end_time specified).
If continuation_tokens & new_partitions are present, then a change in
partitioning requires the client to open a new stream for each token to
resume reading. Example:
                                 [B,      D) ends
                                      |
                                      v
              new_partitions:  [A,  C) [C,  E)
continuation_tokens.partitions:  [B,C) [C,D)
                                 ^---^ ^---^
                                 ^     ^
                                 |     |
                                 |     StreamContinuationToken 2
                                 |
                                 StreamContinuationToken 1
To read the new partition [A,C), supply the continuation tokens whose ranges cover the new partition, for example ContinuationToken[A,B) & ContinuationToken[B,C).
Implements
IMessageReadChangeStreamResponseTypesCloseStream, IEquatableReadChangeStreamResponseTypesCloseStream, IDeepCloneableReadChangeStreamResponseTypesCloseStream, IBufferMessage, IMessageNamespace
Google.Cloud.Bigtable.V2Assembly
Google.Cloud.Bigtable.V2.dll
Constructors
CloseStream()
public CloseStream()CloseStream(CloseStream)
public CloseStream(ReadChangeStreamResponse.Types.CloseStream other)| Parameter | |
|---|---|
| Name | Description | 
| other | ReadChangeStreamResponseTypesCloseStream | 
Properties
ContinuationTokens
public RepeatedField<StreamContinuationToken> ContinuationTokens { get; }If non-empty, contains the information needed to resume reading their associated partitions.
| Property Value | |
|---|---|
| Type | Description | 
| RepeatedFieldStreamContinuationToken | |
NewPartitions
public RepeatedField<StreamPartition> NewPartitions { get; }If non-empty, contains the new partitions to start reading from, which
are related to but not necessarily identical to the partitions for the
above continuation_tokens.
| Property Value | |
|---|---|
| Type | Description | 
| RepeatedFieldStreamPartition | |
Status
public Status Status { get; set; }The status of the stream.
| Property Value | |
|---|---|
| Type | Description | 
| Status | |