public final class QueryPlan extends GeneratedMessageV3 implements QueryPlanOrBuilder
Contains an ordered list of nodes appearing in the query plan.
Protobuf type google.spanner.v1.QueryPlan
Static Fields
PLAN_NODES_FIELD_NUMBER
public static final int PLAN_NODES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static QueryPlan getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static QueryPlan.Builder newBuilder()
Returns
newBuilder(QueryPlan prototype)
public static QueryPlan.Builder newBuilder(QueryPlan prototype)
Parameter
Returns
public static QueryPlan parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static QueryPlan parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static QueryPlan parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static QueryPlan parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static QueryPlan parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static QueryPlan parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static QueryPlan parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static QueryPlan parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static QueryPlan parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static QueryPlan parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static QueryPlan parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static QueryPlan parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<QueryPlan> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public QueryPlan getDefaultInstanceForType()
Returns
getParserForType()
public Parser<QueryPlan> getParserForType()
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
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> | |
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public QueryPlan.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected QueryPlan.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public QueryPlan.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions