Reference documentation and code samples for the Cloud Spanner V1 API class Google::Cloud::Spanner::V1::QueryAdvisorResult.
Output of query advisor analysis.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#index_advice
def index_advice() -> ::Array<::Google::Cloud::Spanner::V1::QueryAdvisorResult::IndexAdvice>
Returns
- (::Array<::Google::Cloud::Spanner::V1::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.
#index_advice=
def index_advice=(value) -> ::Array<::Google::Cloud::Spanner::V1::QueryAdvisorResult::IndexAdvice>
Parameter
- value (::Array<::Google::Cloud::Spanner::V1::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.
Returns
- (::Array<::Google::Cloud::Spanner::V1::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.