Cloud Bigtable V2 Client - Class StreamContinuationToken (1.29.2)

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
data array

Optional. Data for populating the Message object.

↳ partition Google\Cloud\Bigtable\V2\StreamPartition

The partition that this token applies to.

↳ token string

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
var Google\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
var string
Returns
TypeDescription
$this