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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CHILD_INDEX_FIELD_NUMBER
public static final int CHILD_INDEX_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VARIABLE_FIELD_NUMBER
public static final int VARIABLE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static PlanNode.ChildLink getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PlanNode.ChildLink.Builder newBuilder()
newBuilder(PlanNode.ChildLink prototype)
public static PlanNode.ChildLink.Builder newBuilder(PlanNode.ChildLink prototype)
public static PlanNode.ChildLink parseDelimitedFrom(InputStream input)
public static PlanNode.ChildLink parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PlanNode.ChildLink parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PlanNode.ChildLink parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PlanNode.ChildLink parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PlanNode.ChildLink parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PlanNode.ChildLink parseFrom(CodedInputStream input)
public static PlanNode.ChildLink parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PlanNode.ChildLink parseFrom(InputStream input)
public static PlanNode.ChildLink parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static PlanNode.ChildLink parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PlanNode.ChildLink parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PlanNode.ChildLink> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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()
getParserForType()
public Parser<PlanNode.ChildLink> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public PlanNode.ChildLink.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PlanNode.ChildLink.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public PlanNode.ChildLink.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides