Class PlanNode.ChildLink

public static final class PlanNode.ChildLink extends GeneratedMessageV3 implements PlanNode.ChildLinkOrBuilder

Metadata associated with a parent-child relationship appearing in a PlanNode.

Protobuf type google.spanner.v1.PlanNode.ChildLink

Fields

public static final int CHILD_INDEX_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int VARIABLE_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

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

The node to which the link points.

int32 child_index = 1;

Returns
TypeDescription
int

The childIndex.

public static PlanNode.ChildLink getDefaultInstance()
Returns
TypeDescription
PlanNode.ChildLink
public PlanNode.ChildLink getDefaultInstanceForType()
Returns
TypeDescription
PlanNode.ChildLink
public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor
public Parser<PlanNode.ChildLink> getParserForType()
Returns
TypeDescription
Parser<ChildLink>
Overrides
public int getSerializedSize()
Returns
TypeDescription
int
Overrides
public String getType()

The type of the link. For example, in Hash Joins this could be used to distinguish between the build child and the probe child, or in the case of the child being an output variable, to represent the tag associated with the output variable.

string type = 2;

Returns
TypeDescription
String

The type.

public ByteString getTypeBytes()

The type of the link. For example, in Hash Joins this could be used to distinguish between the build child and the probe child, or in the case of the child being an output variable, to represent the tag associated with the output variable.

string type = 2;

Returns
TypeDescription
ByteString

The bytes for type.

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides
public String getVariable()

Only present if the child node is SCALAR and corresponds to an output variable of the parent node. The field carries the name of the output variable. For example, a TableScan operator that reads rows from a table will have child links to the SCALAR nodes representing the output variables created for each column that is read by the operator. The corresponding variable fields will be set to the variable names assigned to the columns.

string variable = 3;

Returns
TypeDescription
String

The variable.

public ByteString getVariableBytes()

Only present if the child node is SCALAR and corresponds to an output variable of the parent node. The field carries the name of the output variable. For example, a TableScan operator that reads rows from a table will have child links to the SCALAR nodes representing the output variables created for each column that is read by the operator. The corresponding variable fields will be set to the variable names assigned to the columns.

string variable = 3;

Returns
TypeDescription
ByteString

The bytes for variable.

public int hashCode()
Returns
TypeDescription
int
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides
public static PlanNode.ChildLink.Builder newBuilder()
Returns
TypeDescription
PlanNode.ChildLink.Builder
public static PlanNode.ChildLink.Builder newBuilder(PlanNode.ChildLink prototype)
Parameter
NameDescription
prototypePlanNode.ChildLink
Returns
TypeDescription
PlanNode.ChildLink.Builder
public PlanNode.ChildLink.Builder newBuilderForType()
Returns
TypeDescription
PlanNode.ChildLink.Builder
protected PlanNode.ChildLink.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PlanNode.ChildLink.Builder
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides
public static PlanNode.ChildLink parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PlanNode.ChildLink
Exceptions
TypeDescription
IOException
public static PlanNode.ChildLink parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PlanNode.ChildLink
Exceptions
TypeDescription
IOException
public static PlanNode.ChildLink parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PlanNode.ChildLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static PlanNode.ChildLink parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PlanNode.ChildLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static PlanNode.ChildLink parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PlanNode.ChildLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static PlanNode.ChildLink parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PlanNode.ChildLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static PlanNode.ChildLink parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PlanNode.ChildLink
Exceptions
TypeDescription
IOException
public static PlanNode.ChildLink parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PlanNode.ChildLink
Exceptions
TypeDescription
IOException
public static PlanNode.ChildLink parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PlanNode.ChildLink
Exceptions
TypeDescription
IOException
public static PlanNode.ChildLink parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PlanNode.ChildLink
Exceptions
TypeDescription
IOException
public static PlanNode.ChildLink parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PlanNode.ChildLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static PlanNode.ChildLink parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PlanNode.ChildLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static Parser<PlanNode.ChildLink> parser()
Returns
TypeDescription
Parser<ChildLink>
public PlanNode.ChildLink.Builder toBuilder()
Returns
TypeDescription
PlanNode.ChildLink.Builder
public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException