public static final class QueryPlan.Builder extends GeneratedMessageV3.Builder<QueryPlan.Builder> implements QueryPlanOrBuilder
Contains an ordered list of nodes appearing in the query plan.
Protobuf type google.spanner.v1.QueryPlan
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllPlanNodes(Iterable<? extends PlanNode> values)
public QueryPlan.Builder addAllPlanNodes(Iterable<? extends PlanNode> values)
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 |
values | Iterable<? extends com.google.spanner.v1.PlanNode>
|
Returns
addPlanNodes(PlanNode value)
public QueryPlan.Builder addPlanNodes(PlanNode value)
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
Returns
addPlanNodes(PlanNode.Builder builderForValue)
public QueryPlan.Builder addPlanNodes(PlanNode.Builder builderForValue)
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
Returns
addPlanNodes(int index, PlanNode value)
public QueryPlan.Builder addPlanNodes(int index, PlanNode value)
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;
Parameters
Returns
addPlanNodes(int index, PlanNode.Builder builderForValue)
public QueryPlan.Builder addPlanNodes(int index, PlanNode.Builder builderForValue)
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;
Parameters
Returns
addPlanNodesBuilder()
public PlanNode.Builder addPlanNodesBuilder()
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
addPlanNodesBuilder(int index)
public PlanNode.Builder addPlanNodesBuilder(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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public QueryPlan.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public QueryPlan buildPartial()
Returns
clear()
public QueryPlan.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public QueryPlan.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public QueryPlan.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPlanNodes()
public QueryPlan.Builder clearPlanNodes()
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
clone()
public QueryPlan.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public QueryPlan getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getPlanNodes(int index)
public 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
Returns
getPlanNodesBuilder(int index)
public PlanNode.Builder getPlanNodesBuilder(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
Returns
getPlanNodesBuilderList()
public List<PlanNode.Builder> getPlanNodesBuilderList()
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
getPlanNodesCount()
public 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
getPlanNodesList()
public 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
getPlanNodesOrBuilder(int index)
public 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
Returns
getPlanNodesOrBuilderList()
public 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> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public QueryPlan.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public QueryPlan.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(QueryPlan other)
public QueryPlan.Builder mergeFrom(QueryPlan other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QueryPlan.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removePlanNodes(int index)
public QueryPlan.Builder removePlanNodes(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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public QueryPlan.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setPlanNodes(int index, PlanNode value)
public QueryPlan.Builder setPlanNodes(int index, PlanNode value)
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;
Parameters
Returns
setPlanNodes(int index, PlanNode.Builder builderForValue)
public QueryPlan.Builder setPlanNodes(int index, PlanNode.Builder builderForValue)
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;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public QueryPlan.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final QueryPlan.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides