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 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 protobuf ReadChangeStreamResponse.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()