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
CHILD_INDEX_FIELD_NUMBER
public static final int CHILD_INDEX_FIELD_NUMBER
Field Value
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value
VARIABLE_FIELD_NUMBER
public static final int VARIABLE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static PlanNode.ChildLink getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static PlanNode.ChildLink.Builder newBuilder()
Returns
newBuilder(PlanNode.ChildLink prototype)
public static PlanNode.ChildLink.Builder newBuilder(PlanNode.ChildLink prototype)
Parameter
Returns
public static PlanNode.ChildLink parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static PlanNode.ChildLink parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static PlanNode.ChildLink parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PlanNode.ChildLink parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static PlanNode.ChildLink parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PlanNode.ChildLink parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PlanNode.ChildLink parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static PlanNode.ChildLink parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PlanNode.ChildLink parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static PlanNode.ChildLink parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static PlanNode.ChildLink parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PlanNode.ChildLink parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<PlanNode.ChildLink> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
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
getParserForType()
public Parser<PlanNode.ChildLink> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public PlanNode.ChildLink.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PlanNode.ChildLink.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public PlanNode.ChildLink.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions