Interface QueryAdvisorResultOrBuilder (6.107.0)

public interface QueryAdvisorResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIndexAdvice(int index)

public abstract QueryAdvisorResult.IndexAdvice getIndexAdvice(int index)

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.

repeated .google.spanner.v1.QueryAdvisorResult.IndexAdvice index_advice = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
QueryAdvisorResult.IndexAdvice

getIndexAdviceCount()

public abstract int getIndexAdviceCount()

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.

repeated .google.spanner.v1.QueryAdvisorResult.IndexAdvice index_advice = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getIndexAdviceList()

public abstract List<QueryAdvisorResult.IndexAdvice> getIndexAdviceList()

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.

repeated .google.spanner.v1.QueryAdvisorResult.IndexAdvice index_advice = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<IndexAdvice>

getIndexAdviceOrBuilder(int index)

public abstract QueryAdvisorResult.IndexAdviceOrBuilder getIndexAdviceOrBuilder(int index)

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.

repeated .google.spanner.v1.QueryAdvisorResult.IndexAdvice index_advice = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
QueryAdvisorResult.IndexAdviceOrBuilder

getIndexAdviceOrBuilderList()

public abstract List<? extends QueryAdvisorResult.IndexAdviceOrBuilder> getIndexAdviceOrBuilderList()

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.

repeated .google.spanner.v1.QueryAdvisorResult.IndexAdvice index_advice = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.spanner.v1.QueryAdvisorResult.IndexAdviceOrBuilder>