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, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
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, unknownFields
memoizedSize
memoizedHashCode
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 Descriptors.Descriptor |
getDescriptor() |
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) |
protected Object |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) |
static PlanNode |
parseDelimitedFrom(InputStream input) |
static PlanNode |
parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static PlanNode |
parseFrom(byte[] data) |
static PlanNode |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static PlanNode |
parseFrom(ByteBuffer data) |
static PlanNode |
parseFrom(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(InputStream input) |
static PlanNode |
parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<PlanNode> |
parser() |
PlanNode.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public int getIndex()
The `PlanNode`'s index in [node list][google.spanner.v1.QueryPlan.plan_nodes].
int32 index = 1;
getIndex
in interface PlanNodeOrBuilder
public 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 PlanNodeOrBuilder
public 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 PlanNodeOrBuilder
public String getDisplayName()
The display name for the node.
string display_name = 3;
getDisplayName
in interface PlanNodeOrBuilder
public ByteString getDisplayNameBytes()
The display name for the node.
string display_name = 3;
getDisplayNameBytes
in interface PlanNodeOrBuilder
public 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 PlanNodeOrBuilder
public 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 PlanNodeOrBuilder
public 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 PlanNodeOrBuilder
public 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 PlanNodeOrBuilder
public 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 PlanNodeOrBuilder
public boolean hasShortRepresentation()
Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
.google.spanner.v1.PlanNode.ShortRepresentation short_representation = 5;
hasShortRepresentation
in interface PlanNodeOrBuilder
public 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 PlanNodeOrBuilder
public 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 PlanNodeOrBuilder
public 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 PlanNodeOrBuilder
public 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 PlanNodeOrBuilder
public 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 PlanNodeOrBuilder
public 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 PlanNodeOrBuilder
public 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 PlanNodeOrBuilder
public 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 PlanNodeOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static PlanNode parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static PlanNode parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static PlanNode parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static PlanNode parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static PlanNode parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static PlanNode parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static PlanNode parseFrom(InputStream input) throws IOException
IOException
public static PlanNode parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static PlanNode parseDelimitedFrom(InputStream input) throws IOException
IOException
public static PlanNode parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static PlanNode parseFrom(CodedInputStream input) throws IOException
IOException
public static PlanNode parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public PlanNode.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static PlanNode.Builder newBuilder()
public static PlanNode.Builder newBuilder(PlanNode prototype)
public PlanNode.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected PlanNode.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static PlanNode getDefaultInstance()
public Parser<PlanNode> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public PlanNode getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.