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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > QueryPlanImplements
QueryPlanOrBuilderStatic Fields
PLAN_NODES_FIELD_NUMBER
public static final int PLAN_NODES_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static QueryPlan getDefaultInstance()
Type | Description |
QueryPlan |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static QueryPlan.Builder newBuilder()
Type | Description |
QueryPlan.Builder |
newBuilder(QueryPlan prototype)
public static QueryPlan.Builder newBuilder(QueryPlan prototype)
Name | Description |
prototype | QueryPlan |
Type | Description |
QueryPlan.Builder |
parseDelimitedFrom(InputStream input)
public static QueryPlan parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
QueryPlan |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static QueryPlan parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
QueryPlan |
Type | Description |
IOException |
parseFrom(byte[] data)
public static QueryPlan parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
QueryPlan |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static QueryPlan parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
QueryPlan |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static QueryPlan parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
QueryPlan |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static QueryPlan parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
QueryPlan |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static QueryPlan parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
QueryPlan |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static QueryPlan parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
QueryPlan |
Type | Description |
IOException |
parseFrom(InputStream input)
public static QueryPlan parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
QueryPlan |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static QueryPlan parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
QueryPlan |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static QueryPlan parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
QueryPlan |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static QueryPlan parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
QueryPlan |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<QueryPlan> parser()
Type | Description |
Parser<QueryPlan> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public QueryPlan getDefaultInstanceForType()
Type | Description |
QueryPlan |
getParserForType()
public Parser<QueryPlan> getParserForType()
Type | Description |
Parser<QueryPlan> |
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;
Name | Description |
index | int |
Type | Description |
PlanNode |
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;
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;
Type | Description |
List<PlanNode> |
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;
Name | Description |
index | int |
Type | Description |
PlanNodeOrBuilder |
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;
Type | Description |
List<? extends com.google.spanner.v1.PlanNodeOrBuilder> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public QueryPlan.Builder newBuilderForType()
Type | Description |
QueryPlan.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected QueryPlan.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
QueryPlan.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public QueryPlan.Builder toBuilder()
Type | Description |
QueryPlan.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |