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 \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
Google\Cloud\Bigtable\V2\StreamPartition|null |
hasPartition
clearPartition
setPartition
The partition that this token applies to.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Bigtable\V2\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 |