Class CloseStream
- java.lang.Object
-
- com.google.cloud.bigtable.data.v2.models.CloseStream
-
- All Implemented Interfaces:
ChangeStreamRecord,Serializable
@InternalApi("Intended for use by the BigtableIO in apache/beam only.") public abstract class CloseStream extends Object implements ChangeStreamRecord, SerializableA simple wrapper forReadChangeStreamResponse.CloseStream. This message is received when the stream reading is finished(i.e. read past the stream end time), or an error has occurred.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CloseStream()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static CloseStreamfromProto(ReadChangeStreamResponse.CloseStream closeStream)Wraps the protobufReadChangeStreamResponse.CloseStream.abstract List<ChangeStreamContinuationToken>getChangeStreamContinuationTokens()abstract List<Range.ByteStringRange>getNewPartitions()abstract StatusgetStatus()
-
-
-
Method Detail
-
fromProto
@InternalApi("Intended for use by the BigtableIO in apache/beam only.") public static CloseStream fromProto(@Nonnull ReadChangeStreamResponse.CloseStream closeStream)Wraps the protobufReadChangeStreamResponse.CloseStream.
-
getStatus
@InternalApi("Intended for use by the BigtableIO in apache/beam only.") @Nonnull public abstract Status getStatus()
-
getChangeStreamContinuationTokens
@InternalApi("Intended for use by the BigtableIO in apache/beam only.") @Nonnull public abstract List<ChangeStreamContinuationToken> getChangeStreamContinuationTokens()
-
getNewPartitions
@InternalApi("Intended for use by the BigtableIO in apache/beam only.") @Nonnull public abstract List<Range.ByteStringRange> getNewPartitions()
-
-