Class PlanNode.ChildLink.Builder (6.69.0)

public static final class PlanNode.ChildLink.Builder extends GeneratedMessageV3.Builder<PlanNode.ChildLink.Builder> implements PlanNode.ChildLinkOrBuilder

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

Protobuf type google.spanner.v1.PlanNode.ChildLink

Static Methods

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

Methods

public PlanNode.ChildLink.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PlanNode.ChildLink.Builder
Overrides
public PlanNode.ChildLink build()
Returns
Type Description
PlanNode.ChildLink
public PlanNode.ChildLink buildPartial()
Returns
Type Description
PlanNode.ChildLink
public PlanNode.ChildLink.Builder clear()
Returns
Type Description
PlanNode.ChildLink.Builder
Overrides
public PlanNode.ChildLink.Builder clearChildIndex()

The node to which the link points.

int32 child_index = 1;

Returns
Type Description
PlanNode.ChildLink.Builder

This builder for chaining.

public PlanNode.ChildLink.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PlanNode.ChildLink.Builder
Overrides
public PlanNode.ChildLink.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PlanNode.ChildLink.Builder
Overrides
public PlanNode.ChildLink.Builder clearType()

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
PlanNode.ChildLink.Builder

This builder for chaining.

public PlanNode.ChildLink.Builder clearVariable()

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
PlanNode.ChildLink.Builder

This builder for chaining.

public PlanNode.ChildLink.Builder clone()
Returns
Type Description
PlanNode.ChildLink.Builder
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 Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
public PlanNode.ChildLink.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PlanNode.ChildLink.Builder
Overrides
Exceptions
Type Description
IOException
public PlanNode.ChildLink.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PlanNode.ChildLink.Builder
Overrides
public PlanNode.ChildLink.Builder mergeFrom(PlanNode.ChildLink other)
Parameter
Name Description
other PlanNode.ChildLink
Returns
Type Description
PlanNode.ChildLink.Builder
public final PlanNode.ChildLink.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PlanNode.ChildLink.Builder
Overrides
public PlanNode.ChildLink.Builder setChildIndex(int value)

The node to which the link points.

int32 child_index = 1;

Parameter
Name Description
value int

The childIndex to set.

Returns
Type Description
PlanNode.ChildLink.Builder

This builder for chaining.

public PlanNode.ChildLink.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PlanNode.ChildLink.Builder
Overrides
public PlanNode.ChildLink.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PlanNode.ChildLink.Builder
Overrides
public PlanNode.ChildLink.Builder setType(String value)

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;

Parameter
Name Description
value String

The type to set.

Returns
Type Description
PlanNode.ChildLink.Builder

This builder for chaining.

public PlanNode.ChildLink.Builder setTypeBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for type to set.

Returns
Type Description
PlanNode.ChildLink.Builder

This builder for chaining.

public final PlanNode.ChildLink.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PlanNode.ChildLink.Builder
Overrides
public PlanNode.ChildLink.Builder setVariable(String value)

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;

Parameter
Name Description
value String

The variable to set.

Returns
Type Description
PlanNode.ChildLink.Builder

This builder for chaining.

public PlanNode.ChildLink.Builder setVariableBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for variable to set.

Returns
Type Description
PlanNode.ChildLink.Builder

This builder for chaining.