public interface QueryPlanOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getPlanNodes(int index)
public abstract PlanNode getPlanNodes(int index) The nodes in the query plan. Plan nodes are returned in pre-order starting
with the plan root. Each PlanNode's id
corresponds to its index in plan_nodes.
repeated .google.spanner.v1.PlanNode plan_nodes = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
PlanNode |
|
getPlanNodesCount()
public abstract int getPlanNodesCount() The nodes in the query plan. Plan nodes are returned in pre-order starting
with the plan root. Each PlanNode's id
corresponds to its index in plan_nodes.
repeated .google.spanner.v1.PlanNode plan_nodes = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getPlanNodesList()
public abstract List<PlanNode> getPlanNodesList() The nodes in the query plan. Plan nodes are returned in pre-order starting
with the plan root. Each PlanNode's id
corresponds to its index in plan_nodes.
repeated .google.spanner.v1.PlanNode plan_nodes = 1;
| Returns | |
|---|---|
| Type | Description |
List<PlanNode> |
|
getPlanNodesOrBuilder(int index)
public abstract PlanNodeOrBuilder getPlanNodesOrBuilder(int index) The nodes in the query plan. Plan nodes are returned in pre-order starting
with the plan root. Each PlanNode's id
corresponds to its index in plan_nodes.
repeated .google.spanner.v1.PlanNode plan_nodes = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
PlanNodeOrBuilder |
|
getPlanNodesOrBuilderList()
public abstract List<? extends PlanNodeOrBuilder> getPlanNodesOrBuilderList() The nodes in the query plan. Plan nodes are returned in pre-order starting
with the plan root. Each PlanNode's id
corresponds to its index in plan_nodes.
repeated .google.spanner.v1.PlanNode plan_nodes = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.spanner.v1.PlanNodeOrBuilder> |
|
getQueryAdvice()
public abstract QueryAdvisorResult getQueryAdvice()Optional. The advise/recommendations for a query. Currently this field will be serving index recommendations for a query.
.google.spanner.v1.QueryAdvisorResult query_advice = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
QueryAdvisorResult |
The queryAdvice. |
getQueryAdviceOrBuilder()
public abstract QueryAdvisorResultOrBuilder getQueryAdviceOrBuilder()Optional. The advise/recommendations for a query. Currently this field will be serving index recommendations for a query.
.google.spanner.v1.QueryAdvisorResult query_advice = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
QueryAdvisorResultOrBuilder |
|
hasQueryAdvice()
public abstract boolean hasQueryAdvice()Optional. The advise/recommendations for a query. Currently this field will be serving index recommendations for a query.
.google.spanner.v1.QueryAdvisorResult query_advice = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the queryAdvice field is set. |