Reference documentation and code samples for the Cloud Bigtable V2 Client class SessionRefreshConfig.
Internal usage only.
Generated from protobuf message google.bigtable.v2.SessionRefreshConfig
Namespace
Google \ Cloud \ Bigtable \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ optimized_open_request |
OpenSessionRequest
An optimized Open request that the session may use on a retry when establishing this session again. This can be sent from the AFE to avoid certain work e.g. encoding a query plan for BTQL. |
↳ metadata |
array<SessionRefreshConfig\Metadata>
Output only. Any additional metadata to include when reconnecting. |
getOptimizedOpenRequest
An optimized Open request that the session may use on a retry when establishing this session again. This can be sent from the AFE to avoid certain work e.g. encoding a query plan for BTQL.
| Returns | |
|---|---|
| Type | Description |
OpenSessionRequest|null |
|
hasOptimizedOpenRequest
clearOptimizedOpenRequest
setOptimizedOpenRequest
An optimized Open request that the session may use on a retry when establishing this session again. This can be sent from the AFE to avoid certain work e.g. encoding a query plan for BTQL.
| Parameter | |
|---|---|
| Name | Description |
var |
OpenSessionRequest
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMetadata
Output only. Any additional metadata to include when reconnecting.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<SessionRefreshConfig\Metadata> |
|
setMetadata
Output only. Any additional metadata to include when reconnecting.
| Parameter | |
|---|---|
| Name | Description |
var |
array<SessionRefreshConfig\Metadata>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|