Class PlanNode.ShortRepresentation (6.52.0)

public static final class PlanNode.ShortRepresentation extends GeneratedMessageV3 implements PlanNode.ShortRepresentationOrBuilder

Condensed representation of a node and its subtree. Only present for SCALAR PlanNode(s).

Protobuf type google.spanner.v1.PlanNode.ShortRepresentation

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

SUBQUERIES_FIELD_NUMBER

public static final int SUBQUERIES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PlanNode.ShortRepresentation getDefaultInstance()
Returns
TypeDescription
PlanNode.ShortRepresentation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PlanNode.ShortRepresentation.Builder newBuilder()
Returns
TypeDescription
PlanNode.ShortRepresentation.Builder

newBuilder(PlanNode.ShortRepresentation prototype)

public static PlanNode.ShortRepresentation.Builder newBuilder(PlanNode.ShortRepresentation prototype)
Parameter
NameDescription
prototypePlanNode.ShortRepresentation
Returns
TypeDescription
PlanNode.ShortRepresentation.Builder

parseDelimitedFrom(InputStream input)

public static PlanNode.ShortRepresentation parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PlanNode.ShortRepresentation
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PlanNode.ShortRepresentation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PlanNode.ShortRepresentation
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PlanNode.ShortRepresentation parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PlanNode.ShortRepresentation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PlanNode.ShortRepresentation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PlanNode.ShortRepresentation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PlanNode.ShortRepresentation parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PlanNode.ShortRepresentation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PlanNode.ShortRepresentation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PlanNode.ShortRepresentation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PlanNode.ShortRepresentation parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PlanNode.ShortRepresentation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PlanNode.ShortRepresentation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PlanNode.ShortRepresentation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PlanNode.ShortRepresentation parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PlanNode.ShortRepresentation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PlanNode.ShortRepresentation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PlanNode.ShortRepresentation
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PlanNode.ShortRepresentation parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PlanNode.ShortRepresentation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PlanNode.ShortRepresentation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PlanNode.ShortRepresentation
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PlanNode.ShortRepresentation> parser()
Returns
TypeDescription
Parser<ShortRepresentation>

Methods

containsSubqueries(String key)

public boolean containsSubqueries(String key)

A mapping of (subquery variable name) -> (subquery node id) for cases where the description string of this node references a SCALAR subquery contained in the expression subtree rooted at this node. The referenced SCALAR subquery may not necessarily be a direct child of this node.

map<string, int32> subqueries = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public PlanNode.ShortRepresentation getDefaultInstanceForType()
Returns
TypeDescription
PlanNode.ShortRepresentation

getDescription()

public String getDescription()

A string representation of the expression subtree rooted at this node.

string description = 1;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A string representation of the expression subtree rooted at this node.

string description = 1;

Returns
TypeDescription
ByteString

The bytes for description.

getParserForType()

public Parser<PlanNode.ShortRepresentation> getParserForType()
Returns
TypeDescription
Parser<ShortRepresentation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSubqueries()

public Map<String,Integer> getSubqueries()

Use #getSubqueriesMap() instead.

Returns
TypeDescription
Map<String,Integer>

getSubqueriesCount()

public int getSubqueriesCount()

A mapping of (subquery variable name) -> (subquery node id) for cases where the description string of this node references a SCALAR subquery contained in the expression subtree rooted at this node. The referenced SCALAR subquery may not necessarily be a direct child of this node.

map<string, int32> subqueries = 2;

Returns
TypeDescription
int

getSubqueriesMap()

public Map<String,Integer> getSubqueriesMap()

A mapping of (subquery variable name) -> (subquery node id) for cases where the description string of this node references a SCALAR subquery contained in the expression subtree rooted at this node. The referenced SCALAR subquery may not necessarily be a direct child of this node.

map<string, int32> subqueries = 2;

Returns
TypeDescription
Map<String,Integer>

getSubqueriesOrDefault(String key, int defaultValue)

public int getSubqueriesOrDefault(String key, int defaultValue)

A mapping of (subquery variable name) -> (subquery node id) for cases where the description string of this node references a SCALAR subquery contained in the expression subtree rooted at this node. The referenced SCALAR subquery may not necessarily be a direct child of this node.

map<string, int32> subqueries = 2;

Parameters
NameDescription
keyString
defaultValueint
Returns
TypeDescription
int

getSubqueriesOrThrow(String key)

public int getSubqueriesOrThrow(String key)

A mapping of (subquery variable name) -> (subquery node id) for cases where the description string of this node references a SCALAR subquery contained in the expression subtree rooted at this node. The referenced SCALAR subquery may not necessarily be a direct child of this node.

map<string, int32> subqueries = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
int

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PlanNode.ShortRepresentation.Builder newBuilderForType()
Returns
TypeDescription
PlanNode.ShortRepresentation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PlanNode.ShortRepresentation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PlanNode.ShortRepresentation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PlanNode.ShortRepresentation.Builder toBuilder()
Returns
TypeDescription
PlanNode.ShortRepresentation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException