Cloud Spanner V1 Client - Class QueryAdvisorResult (2.2.0)

Reference documentation and code samples for the Cloud Spanner V1 Client class QueryAdvisorResult.

Output of query advisor analysis.

Generated from protobuf message google.spanner.v1.QueryAdvisorResult

Namespace

Google \ Cloud \ Spanner \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ index_advice
array< QueryAdvisorResult\IndexAdvice >

Optional. Index Recommendation for a query. This is an optional field and the recommendation will only be available when the recommendation guarantees significant improvement in query performance.

getIndexAdvice

Optional. Index Recommendation for a query. This is an optional field and the recommendation will only be available when the recommendation guarantees significant improvement in query performance.

Returns
Type
Description

setIndexAdvice

Optional. Index Recommendation for a query. This is an optional field and the recommendation will only be available when the recommendation guarantees significant improvement in query performance.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: