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, 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.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CloseStream
fromProto
(com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream closeStream) Wraps the protobufReadChangeStreamResponse.CloseStream
.abstract List<ChangeStreamContinuationToken>
abstract List<Range.ByteStringRange>
abstract Status
-
Constructor Details
-
CloseStream
public CloseStream()
-
-
Method Details
-
fromProto
@InternalApi("Intended for use by the BigtableIO in apache/beam only.") public static CloseStream fromProto(@Nonnull com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream closeStream) Wraps the protobufReadChangeStreamResponse.CloseStream
. -
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()
-