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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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;
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;
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;
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;
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;
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 |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public QueryPlan.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public QueryPlan buildPartial()
clear()
public QueryPlan.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public QueryPlan.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public QueryPlan.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public QueryPlan.Builder clone()
Overrides
getDefaultInstanceForType()
public QueryPlan getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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;
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 |
---|
Type | Description |
int | |
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;
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 |
---|
Name | Description |
index | int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public QueryPlan.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public QueryPlan.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(QueryPlan other)
public QueryPlan.Builder mergeFrom(QueryPlan other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QueryPlan.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public QueryPlan.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public QueryPlan.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final QueryPlan.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides