public final class PlanNode extends 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 |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| 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 |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.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.
|
java.util.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.
|
java.util.List<? extends PlanNode.ChildLinkOrBuilder> |
getChildLinksOrBuilderList()
List of child node `index`es and their relationship to this parent.
|
static PlanNode |
getDefaultInstance() |
PlanNode |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getDisplayName()
The display name for the node.
|
ByteString |
getDisplayNameBytes()
The display name for the node.
|
Struct |
getExecutionStats()
The execution statistics associated with the node, contained in a group of
key-value pairs.
|
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.
|
Struct |
getMetadata()
Attributes relevant to the node contained in a group of key-value pairs.
|
StructOrBuilder |
getMetadataOrBuilder()
Attributes relevant to the node contained in a group of key-value pairs.
|
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.
|
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 GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static PlanNode.Builder |
newBuilder() |
static PlanNode.Builder |
newBuilder(PlanNode prototype) |
PlanNode.Builder |
newBuilderForType() |
protected PlanNode.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static PlanNode |
parseDelimitedFrom(java.io.InputStream input) |
static PlanNode |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static PlanNode |
parseFrom(byte[] data) |
static PlanNode |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static PlanNode |
parseFrom(java.nio.ByteBuffer data) |
static PlanNode |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static PlanNode |
parseFrom(ByteString data) |
static PlanNode |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static PlanNode |
parseFrom(CodedInputStream input) |
static PlanNode |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static PlanNode |
parseFrom(java.io.InputStream input) |
static PlanNode |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<PlanNode> |
parser() |
PlanNode.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic 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
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class 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 java.lang.String getDisplayName()
The display name for the node.
string display_name = 3;getDisplayName in interface PlanNodeOrBuilderpublic ByteString getDisplayNameBytes()
The display name for the node.
string display_name = 3;getDisplayNameBytes in interface PlanNodeOrBuilderpublic java.util.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 java.util.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 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 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 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 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 MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static PlanNode parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static PlanNode parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static PlanNode parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static PlanNode parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static PlanNode parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static PlanNode parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static PlanNode parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static PlanNode parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static PlanNode parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static PlanNode parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static PlanNode parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static PlanNode parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic PlanNode.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static PlanNode.Builder newBuilder()
public static PlanNode.Builder newBuilder(PlanNode prototype)
public PlanNode.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected PlanNode.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static PlanNode getDefaultInstance()
public Parser<PlanNode> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public PlanNode getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder