Cloud Bigtable V2 Client - Class StreamContinuationToken (2.4.0)

Reference documentation and code samples for the Cloud Bigtable V2 Client class StreamContinuationToken.

NOTE: This API is intended to be used by Apache Beam BigtableIO.

The information required to continue reading the data from a StreamPartition from where a previous read left off.

Generated from protobuf message google.bigtable.v2.StreamContinuationToken

Namespace

Google \ Cloud \ Bigtable \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ partitionGoogle\Cloud\Bigtable\V2\StreamPartition

The partition that this token applies to.

↳ tokenstring

An encoded position in the stream to restart reading from.

getPartition

The partition that this token applies to.

Returns
TypeDescription
Google\Cloud\Bigtable\V2\StreamPartition|null

hasPartition

clearPartition

setPartition

The partition that this token applies to.

Parameter
NameDescription
varGoogle\Cloud\Bigtable\V2\StreamPartition
Returns
TypeDescription
$this

getToken

An encoded position in the stream to restart reading from.

Returns
TypeDescription
string

setToken

An encoded position in the stream to restart reading from.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this