Cloud Spanner V1 Client - Class QueryAdvisorResult (2.1.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
Google\Protobuf\Internal\RepeatedField

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
var array<QueryAdvisorResult\IndexAdvice>
Returns
Type Description
$this