Cloud Bigtable V2 Client - Class StreamContinuationToken (2.6.1)

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

Optional. Data for populating the Message object.

↳ partition 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
Type Description
StreamPartition|null

hasPartition

clearPartition

setPartition

The partition that this token applies to.

Parameter
Name Description
var StreamPartition
Returns
Type Description
$this

getToken

An encoded position in the stream to restart reading from.

Returns
Type Description
string

setToken

An encoded position in the stream to restart reading from.

Parameter
Name Description
var string
Returns
Type Description
$this