Class PlanNode.ShortRepresentation (6.72.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
Type Description
int

SUBQUERIES_FIELD_NUMBER

public static final int SUBQUERIES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PlanNode.ShortRepresentation getDefaultInstance()
Returns
Type Description
PlanNode.ShortRepresentation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PlanNode.ShortRepresentation.Builder newBuilder()
Returns
Type Description
PlanNode.ShortRepresentation.Builder

newBuilder(PlanNode.ShortRepresentation prototype)

public static PlanNode.ShortRepresentation.Builder newBuilder(PlanNode.ShortRepresentation prototype)
Parameter
Name Description
prototype PlanNode.ShortRepresentation
Returns
Type Description
PlanNode.ShortRepresentation.Builder

parseDelimitedFrom(InputStream input)

public static PlanNode.ShortRepresentation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PlanNode.ShortRepresentation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PlanNode.ShortRepresentation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PlanNode.ShortRepresentation
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PlanNode.ShortRepresentation parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PlanNode.ShortRepresentation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PlanNode.ShortRepresentation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PlanNode.ShortRepresentation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PlanNode.ShortRepresentation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PlanNode.ShortRepresentation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PlanNode.ShortRepresentation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PlanNode.ShortRepresentation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PlanNode.ShortRepresentation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PlanNode.ShortRepresentation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PlanNode.ShortRepresentation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PlanNode.ShortRepresentation
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PlanNode.ShortRepresentation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PlanNode.ShortRepresentation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PlanNode.ShortRepresentation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PlanNode.ShortRepresentation
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PlanNode.ShortRepresentation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PlanNode.ShortRepresentation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PlanNode.ShortRepresentation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PlanNode.ShortRepresentation
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PlanNode.ShortRepresentation> parser()
Returns
Type Description
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
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public PlanNode.ShortRepresentation getDefaultInstanceForType()
Returns
Type Description
PlanNode.ShortRepresentation

getDescription()

public String getDescription()

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

string description = 1;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

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

string description = 1;

Returns
Type Description
ByteString

The bytes for description.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSubqueries() (deprecated)

public Map<String,Integer> getSubqueries()

Use #getSubqueriesMap() instead.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
key String
defaultValue int
Returns
Type Description
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
Name Description
key String
Returns
Type Description
int

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PlanNode.ShortRepresentation.Builder newBuilderForType()
Returns
Type Description
PlanNode.ShortRepresentation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PlanNode.ShortRepresentation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PlanNode.ShortRepresentation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PlanNode.ShortRepresentation.Builder toBuilder()
Returns
Type Description
PlanNode.ShortRepresentation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException