Class ChangeStreamContinuationToken (2.34.0)

public abstract class ChangeStreamContinuationToken implements Serializable

A simple wrapper for StreamContinuationToken.

Inheritance

java.lang.Object > ChangeStreamContinuationToken

Implements

Serializable

Static Methods

create(Range.ByteStringRange byteStringRange, String token)

public static ChangeStreamContinuationToken create(Range.ByteStringRange byteStringRange, String token)
Parameters
NameDescription
byteStringRangeRange.ByteStringRange
tokenString
Returns
TypeDescription
ChangeStreamContinuationToken

fromByteString(ByteString byteString)

public static ChangeStreamContinuationToken fromByteString(ByteString byteString)
Parameter
NameDescription
byteStringByteString
Returns
TypeDescription
ChangeStreamContinuationToken
Exceptions
TypeDescription
InvalidProtocolBufferException

Constructors

ChangeStreamContinuationToken()

public ChangeStreamContinuationToken()

Methods

getPartition()

public Range.ByteStringRange getPartition()

Get the partition of the current continuation token, represented by a ByteStringRange.

Returns
TypeDescription
Range.ByteStringRange

getToken()

public String getToken()
Returns
TypeDescription
String

getTokenProto()

public abstract StreamContinuationToken getTokenProto()
Returns
TypeDescription
com.google.bigtable.v2.StreamContinuationToken

toByteString()

public ByteString toByteString()
Returns
TypeDescription
ByteString