Class ChangeStreamContinuationToken

java.lang.Object
com.google.cloud.bigtable.data.v2.models.ChangeStreamContinuationToken
All Implemented Interfaces:
Serializable

@InternalApi("Intended for use by the BigtableIO in apache/beam only.") public abstract class ChangeStreamContinuationToken extends Object implements Serializable
A simple wrapper for StreamContinuationToken.
See Also:
  • Constructor Details

    • ChangeStreamContinuationToken

      public ChangeStreamContinuationToken()
  • Method Details

    • create

      @InternalApi("Intended for use by the BigtableIO in apache/beam only.") public static ChangeStreamContinuationToken create(@Nonnull Range.ByteStringRange byteStringRange, @Nonnull String token)
    • fromByteString

      @InternalApi("Intended for use by the BigtableIO in apache/beam only.") public static ChangeStreamContinuationToken fromByteString(com.google.protobuf.ByteString byteString) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • getTokenProto

      @Nonnull public abstract com.google.bigtable.v2.StreamContinuationToken getTokenProto()
    • getPartition

      public Range.ByteStringRange getPartition()
      Get the partition of the current continuation token, represented by a Range.ByteStringRange.
    • getToken

      public String getToken()
    • toByteString

      public com.google.protobuf.ByteString toByteString()