public final class PlanNode extends com.google.protobuf.GeneratedMessageV3 implements PlanNodeOrBuilder
Node information for nodes appearing in a [QueryPlan.plan_nodes][google.spanner.v1.QueryPlan.plan_nodes].Protobuf type
google.spanner.v1.PlanNode| Modifier and Type | Class and Description |
|---|---|
static class |
PlanNode.Builder
Node information for nodes appearing in a [QueryPlan.plan_nodes][google.spanner.v1.QueryPlan.plan_nodes].
|
static class |
PlanNode.ChildLink
Metadata associated with a parent-child relationship appearing in a
[PlanNode][google.spanner.v1.PlanNode].
|
static interface |
PlanNode.ChildLinkOrBuilder |
static class |
PlanNode.Kind
The kind of [PlanNode][google.spanner.v1.PlanNode].
|
static class |
PlanNode.ShortRepresentation
Condensed representation of a node and its subtree.
|
static interface |
PlanNode.ShortRepresentationOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CHILD_LINKS_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
EXECUTION_STATS_FIELD_NUMBER |
static int |
INDEX_FIELD_NUMBER |
static int |
KIND_FIELD_NUMBER |
static int |
METADATA_FIELD_NUMBER |
static int |
SHORT_REPRESENTATION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
PlanNode.ChildLink |
getChildLinks(int index)
List of child node `index`es and their relationship to this parent.
|
int |
getChildLinksCount()
List of child node `index`es and their relationship to this parent.
|
List<PlanNode.ChildLink> |
getChildLinksList()
List of child node `index`es and their relationship to this parent.
|
PlanNode.ChildLinkOrBuilder |
getChildLinksOrBuilder(int index)
List of child node `index`es and their relationship to this parent.
|
List<? extends PlanNode.ChildLinkOrBuilder> |
getChildLinksOrBuilderList()
List of child node `index`es and their relationship to this parent.
|
static PlanNode |
getDefaultInstance() |
PlanNode |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDisplayName()
The display name for the node.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
The display name for the node.
|
com.google.protobuf.Struct |
getExecutionStats()
The execution statistics associated with the node, contained in a group of
key-value pairs.
|
com.google.protobuf.StructOrBuilder |
getExecutionStatsOrBuilder()
The execution statistics associated with the node, contained in a group of
key-value pairs.
|
int |
getIndex()
The `PlanNode`'s index in [node list][google.spanner.v1.QueryPlan.plan_nodes].
|
PlanNode.Kind |
getKind()
Used to determine the type of node.
|
int |
getKindValue()
Used to determine the type of node.
|
com.google.protobuf.Struct |
getMetadata()
Attributes relevant to the node contained in a group of key-value pairs.
|
com.google.protobuf.StructOrBuilder |
getMetadataOrBuilder()
Attributes relevant to the node contained in a group of key-value pairs.
|
com.google.protobuf.Parser<PlanNode> |
getParserForType() |
int |
getSerializedSize() |
PlanNode.ShortRepresentation |
getShortRepresentation()
Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
|
PlanNode.ShortRepresentationOrBuilder |
getShortRepresentationOrBuilder()
Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasExecutionStats()
The execution statistics associated with the node, contained in a group of
key-value pairs.
|
int |
hashCode() |
boolean |
hasMetadata()
Attributes relevant to the node contained in a group of key-value pairs.
|
boolean |
hasShortRepresentation()
Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static PlanNode.Builder |
newBuilder() |
static PlanNode.Builder |
newBuilder(PlanNode prototype) |
PlanNode.Builder |
newBuilderForType() |
protected PlanNode.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static PlanNode |
parseDelimitedFrom(InputStream input) |
static PlanNode |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PlanNode |
parseFrom(byte[] data) |
static PlanNode |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PlanNode |
parseFrom(ByteBuffer data) |
static PlanNode |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PlanNode |
parseFrom(com.google.protobuf.ByteString data) |
static PlanNode |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PlanNode |
parseFrom(com.google.protobuf.CodedInputStream input) |
static PlanNode |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PlanNode |
parseFrom(InputStream input) |
static PlanNode |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<PlanNode> |
parser() |
PlanNode.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int INDEX_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int CHILD_LINKS_FIELD_NUMBER
public static final int SHORT_REPRESENTATION_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
public static final int EXECUTION_STATS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getIndex()
The `PlanNode`'s index in [node list][google.spanner.v1.QueryPlan.plan_nodes].
int32 index = 1;getIndex in interface PlanNodeOrBuilderpublic int getKindValue()
Used to determine the type of node. May be needed for visualizing different kinds of nodes differently. For example, If the node is a [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] node, it will have a condensed representation which can be used to directly embed a description of the node in its parent.
.google.spanner.v1.PlanNode.Kind kind = 2;getKindValue in interface PlanNodeOrBuilderpublic PlanNode.Kind getKind()
Used to determine the type of node. May be needed for visualizing different kinds of nodes differently. For example, If the node is a [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] node, it will have a condensed representation which can be used to directly embed a description of the node in its parent.
.google.spanner.v1.PlanNode.Kind kind = 2;getKind in interface PlanNodeOrBuilderpublic String getDisplayName()
The display name for the node.
string display_name = 3;getDisplayName in interface PlanNodeOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
The display name for the node.
string display_name = 3;getDisplayNameBytes in interface PlanNodeOrBuilderpublic List<PlanNode.ChildLink> getChildLinksList()
List of child node `index`es and their relationship to this parent.
repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4;getChildLinksList in interface PlanNodeOrBuilderpublic List<? extends PlanNode.ChildLinkOrBuilder> getChildLinksOrBuilderList()
List of child node `index`es and their relationship to this parent.
repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4;getChildLinksOrBuilderList in interface PlanNodeOrBuilderpublic int getChildLinksCount()
List of child node `index`es and their relationship to this parent.
repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4;getChildLinksCount in interface PlanNodeOrBuilderpublic PlanNode.ChildLink getChildLinks(int index)
List of child node `index`es and their relationship to this parent.
repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4;getChildLinks in interface PlanNodeOrBuilderpublic PlanNode.ChildLinkOrBuilder getChildLinksOrBuilder(int index)
List of child node `index`es and their relationship to this parent.
repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4;getChildLinksOrBuilder in interface PlanNodeOrBuilderpublic boolean hasShortRepresentation()
Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
.google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5;hasShortRepresentation in interface PlanNodeOrBuilderpublic PlanNode.ShortRepresentation getShortRepresentation()
Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
.google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5;getShortRepresentation in interface PlanNodeOrBuilderpublic PlanNode.ShortRepresentationOrBuilder getShortRepresentationOrBuilder()
Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
.google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5;getShortRepresentationOrBuilder in interface PlanNodeOrBuilderpublic boolean hasMetadata()
Attributes relevant to the node contained in a group of key-value pairs.
For example, a Parameter Reference node could have the following
information in its metadata:
{
"parameter_reference": "param1",
"parameter_type": "array"
}
.google.protobuf.Struct metadata = 6;hasMetadata in interface PlanNodeOrBuilderpublic com.google.protobuf.Struct getMetadata()
Attributes relevant to the node contained in a group of key-value pairs.
For example, a Parameter Reference node could have the following
information in its metadata:
{
"parameter_reference": "param1",
"parameter_type": "array"
}
.google.protobuf.Struct metadata = 6;getMetadata in interface PlanNodeOrBuilderpublic com.google.protobuf.StructOrBuilder getMetadataOrBuilder()
Attributes relevant to the node contained in a group of key-value pairs.
For example, a Parameter Reference node could have the following
information in its metadata:
{
"parameter_reference": "param1",
"parameter_type": "array"
}
.google.protobuf.Struct metadata = 6;getMetadataOrBuilder in interface PlanNodeOrBuilderpublic boolean hasExecutionStats()
The execution statistics associated with the node, contained in a group of key-value pairs. Only present if the plan was returned as a result of a profile query. For example, number of executions, number of rows/time per execution etc.
.google.protobuf.Struct execution_stats = 7;hasExecutionStats in interface PlanNodeOrBuilderpublic com.google.protobuf.Struct getExecutionStats()
The execution statistics associated with the node, contained in a group of key-value pairs. Only present if the plan was returned as a result of a profile query. For example, number of executions, number of rows/time per execution etc.
.google.protobuf.Struct execution_stats = 7;getExecutionStats in interface PlanNodeOrBuilderpublic com.google.protobuf.StructOrBuilder getExecutionStatsOrBuilder()
The execution statistics associated with the node, contained in a group of key-value pairs. Only present if the plan was returned as a result of a profile query. For example, number of executions, number of rows/time per execution etc.
.google.protobuf.Struct execution_stats = 7;getExecutionStatsOrBuilder in interface PlanNodeOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static PlanNode parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PlanNode parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PlanNode parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PlanNode parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PlanNode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PlanNode parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PlanNode parseFrom(InputStream input) throws IOException
IOExceptionpublic static PlanNode parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PlanNode parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PlanNode parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PlanNode parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static PlanNode parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic PlanNode.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PlanNode.Builder newBuilder()
public static PlanNode.Builder newBuilder(PlanNode prototype)
public PlanNode.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected PlanNode.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static PlanNode getDefaultInstance()
public static com.google.protobuf.Parser<PlanNode> parser()
public com.google.protobuf.Parser<PlanNode> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public PlanNode getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2021 Google LLC. All rights reserved.