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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PlanNode.ChildLink.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public PlanNode.ChildLink build()
Returns
buildPartial()
public PlanNode.ChildLink buildPartial()
Returns
clear()
public PlanNode.ChildLink.Builder clear()
Returns
Overrides
clearChildIndex()
public PlanNode.ChildLink.Builder clearChildIndex()
The node to which the link points.
int32 child_index = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public PlanNode.ChildLink.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PlanNode.ChildLink.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearType()
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
clearVariable()
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
clone()
public PlanNode.ChildLink.Builder clone()
Returns
Overrides
getChildIndex()
public int getChildIndex()
The node to which the link points.
int32 child_index = 1;
Returns
Type | Description |
int | The childIndex.
|
getDefaultInstanceForType()
public PlanNode.ChildLink getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
getTypeBytes()
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
getVariable()
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.
|
getVariableBytes()
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public PlanNode.ChildLink.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public PlanNode.ChildLink.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(PlanNode.ChildLink other)
public PlanNode.ChildLink.Builder mergeFrom(PlanNode.ChildLink other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PlanNode.ChildLink.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setChildIndex(int value)
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
setField(Descriptors.FieldDescriptor field, Object value)
public PlanNode.ChildLink.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PlanNode.ChildLink.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setType(String value)
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
setTypeBytes(ByteString value)
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
setUnknownFields(UnknownFieldSet unknownFields)
public final PlanNode.ChildLink.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setVariable(String value)
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
setVariableBytes(ByteString value)
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