Cloud Bigtable V2 Client - Class PrepareQueryResponse (2.11.1)

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

Response message for Bigtable.PrepareQueryResponse

Generated from protobuf message google.bigtable.v2.PrepareQueryResponse

Namespace

Google \ Cloud \ Bigtable \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ metadataResultSetMetadata

Structure of rows in the response stream of ExecuteQueryResponse for the returned prepared_query.

↳ prepared_querystring

A serialized prepared query. Clients should treat this as an opaque blob of bytes to send in ExecuteQueryRequest.

↳ valid_untilGoogle\Protobuf\Timestamp

The time at which the prepared query token becomes invalid. A token may become invalid early due to changes in the data being read, but it provides a guideline to refresh query plans asynchronously.

getMetadata

Structure of rows in the response stream of ExecuteQueryResponse for the returned prepared_query.

Returns
TypeDescription
ResultSetMetadata|null

hasMetadata

clearMetadata

setMetadata

Structure of rows in the response stream of ExecuteQueryResponse for the returned prepared_query.

Parameter
NameDescription
varResultSetMetadata
Returns
TypeDescription
$this

getPreparedQuery

A serialized prepared query. Clients should treat this as an opaque blob of bytes to send in ExecuteQueryRequest.

Returns
TypeDescription
string

setPreparedQuery

A serialized prepared query. Clients should treat this as an opaque blob of bytes to send in ExecuteQueryRequest.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getValidUntil

The time at which the prepared query token becomes invalid.

A token may become invalid early due to changes in the data being read, but it provides a guideline to refresh query plans asynchronously.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasValidUntil

clearValidUntil

setValidUntil

The time at which the prepared query token becomes invalid.

A token may become invalid early due to changes in the data being read, but it provides a guideline to refresh query plans asynchronously.

Parameter
NameDescription
varGoogle\Protobuf\Timestamp
Returns
TypeDescription
$this