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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PlanNode.ChildLink.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PlanNode.ChildLink build()
buildPartial()
public PlanNode.ChildLink buildPartial()
clear()
public PlanNode.ChildLink.Builder clear()
Overrides
clearChildIndex()
public PlanNode.ChildLink.Builder clearChildIndex()
The node to which the link points.
int32 child_index = 1;
clearField(Descriptors.FieldDescriptor field)
public PlanNode.ChildLink.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PlanNode.ChildLink.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
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;
clone()
public PlanNode.ChildLink.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
ByteString | The bytes for type.
|
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 |
---|
Type | Description |
ByteString | The bytes for variable.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public PlanNode.ChildLink.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PlanNode.ChildLink.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(PlanNode.ChildLink other)
public PlanNode.ChildLink.Builder mergeFrom(PlanNode.ChildLink other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PlanNode.ChildLink.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public PlanNode.ChildLink.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PlanNode.ChildLink.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final PlanNode.ChildLink.Builder setUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|