Class CloseStream (2.33.0)

public abstract class CloseStream implements ChangeStreamRecord, Serializable

A simple wrapper for ReadChangeStreamResponse.CloseStream. This message is received when the stream reading is finished(i.e. read past the stream end time), or an error has occurred.

Inheritance

java.lang.Object > CloseStream

Static Methods

fromProto(ReadChangeStreamResponse.CloseStream closeStream)

public static CloseStream fromProto(ReadChangeStreamResponse.CloseStream closeStream)

Wraps the protobuf ReadChangeStreamResponse.CloseStream.

Parameter
NameDescription
closeStreamcom.google.bigtable.v2.ReadChangeStreamResponse.CloseStream
Returns
TypeDescription
CloseStream

Constructors

CloseStream()

public CloseStream()

Methods

getChangeStreamContinuationTokens()

public abstract List<ChangeStreamContinuationToken> getChangeStreamContinuationTokens()
Returns
TypeDescription
List<ChangeStreamContinuationToken>

getNewPartitions()

public abstract List<Range.ByteStringRange> getNewPartitions()
Returns
TypeDescription
List<ByteStringRange>

getStatus()

public abstract Status getStatus()
Returns
TypeDescription
Status