Class PlanNode.ChildLink (6.65.1)

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

Static Fields

public static final int CHILD_INDEX_FIELD_NUMBER
Field Value
Type Description
int
public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int
public static final int VARIABLE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

public static PlanNode.ChildLink getDefaultInstance()
Returns
Type Description
PlanNode.ChildLink
public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor
public static PlanNode.ChildLink.Builder newBuilder()
Returns
Type Description
PlanNode.ChildLink.Builder
public static PlanNode.ChildLink.Builder newBuilder(PlanNode.ChildLink prototype)
Parameter
Name Description
prototype PlanNode.ChildLink
Returns
Type Description
PlanNode.ChildLink.Builder
public static PlanNode.ChildLink parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PlanNode.ChildLink
Exceptions
Type Description
IOException
public static PlanNode.ChildLink parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PlanNode.ChildLink
Exceptions
Type Description
IOException
public static PlanNode.ChildLink parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PlanNode.ChildLink
Exceptions
Type Description
InvalidProtocolBufferException
public static PlanNode.ChildLink parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PlanNode.ChildLink
Exceptions
Type Description
InvalidProtocolBufferException
public static PlanNode.ChildLink parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PlanNode.ChildLink
Exceptions
Type Description
InvalidProtocolBufferException
public static PlanNode.ChildLink parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PlanNode.ChildLink
Exceptions
Type Description
InvalidProtocolBufferException
public static PlanNode.ChildLink parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PlanNode.ChildLink
Exceptions
Type Description
IOException
public static PlanNode.ChildLink parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PlanNode.ChildLink
Exceptions
Type Description
IOException
public static PlanNode.ChildLink parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PlanNode.ChildLink
Exceptions
Type Description
IOException
public static PlanNode.ChildLink parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PlanNode.ChildLink
Exceptions
Type Description
IOException
public static PlanNode.ChildLink parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PlanNode.ChildLink
Exceptions
Type Description
InvalidProtocolBufferException
public static PlanNode.ChildLink parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PlanNode.ChildLink
Exceptions
Type Description
InvalidProtocolBufferException
public static Parser<PlanNode.ChildLink> parser()
Returns
Type Description
Parser<ChildLink>

Methods

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

The node to which the link points.

int32 child_index = 1;

Returns
Type Description
int

The childIndex.

public PlanNode.ChildLink getDefaultInstanceForType()
Returns
Type Description
PlanNode.ChildLink
public Parser<PlanNode.ChildLink> getParserForType()
Returns
Type Description
Parser<ChildLink>
Overrides
public int getSerializedSize()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for type.

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
Type Description
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
Type Description
ByteString

The bytes for variable.

public int hashCode()
Returns
Type Description
int
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
public PlanNode.ChildLink.Builder newBuilderForType()
Returns
Type Description
PlanNode.ChildLink.Builder
protected PlanNode.ChildLink.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PlanNode.ChildLink.Builder
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides
public PlanNode.ChildLink.Builder toBuilder()
Returns
Type Description
PlanNode.ChildLink.Builder
public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException