Class ChangeStreamContinuationToken (2.39.4)

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
Name Description
byteStringRange Range.ByteStringRange
token String
Returns
Type Description
ChangeStreamContinuationToken

fromByteString(ByteString byteString)

public static ChangeStreamContinuationToken fromByteString(ByteString byteString)
Parameter
Name Description
byteString ByteString
Returns
Type Description
ChangeStreamContinuationToken
Exceptions
Type Description
InvalidProtocolBufferException

Constructors

ChangeStreamContinuationToken()

public ChangeStreamContinuationToken()

Methods

getPartition()

public Range.ByteStringRange getPartition()

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

Returns
Type Description
Range.ByteStringRange

getToken()

public String getToken()
Returns
Type Description
String

getTokenProto()

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

toByteString()

public ByteString toByteString()
Returns
Type Description
ByteString