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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PlanNode.ChildLinkImplements
PlanNode.ChildLinkOrBuilderStatic 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()
Returns | |
---|---|
Type | Description |
PlanNode.ChildLink |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static PlanNode.ChildLink.Builder newBuilder()
Returns | |
---|---|
Type | Description |
PlanNode.ChildLink.Builder |
newBuilder(PlanNode.ChildLink prototype)
public static PlanNode.ChildLink.Builder newBuilder(PlanNode.ChildLink prototype)
Parameter | |
---|---|
Name | Description |
prototype |
PlanNode.ChildLink |
Returns | |
---|---|
Type | Description |
PlanNode.ChildLink.Builder |
parseDelimitedFrom(InputStream input)
public static PlanNode.ChildLink parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
PlanNode.ChildLink |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PlanNode.ChildLink parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PlanNode.ChildLink |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static PlanNode.ChildLink parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
PlanNode.ChildLink |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PlanNode.ChildLink parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PlanNode.ChildLink |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static PlanNode.ChildLink parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
PlanNode.ChildLink |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PlanNode.ChildLink parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PlanNode.ChildLink |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static PlanNode.ChildLink parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
PlanNode.ChildLink |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PlanNode.ChildLink parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PlanNode.ChildLink |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static PlanNode.ChildLink parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
PlanNode.ChildLink |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PlanNode.ChildLink parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PlanNode.ChildLink |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static PlanNode.ChildLink parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
PlanNode.ChildLink |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PlanNode.ChildLink parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PlanNode.ChildLink |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<PlanNode.ChildLink> parser()
Returns | |
---|---|
Type | Description |
Parser<ChildLink> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
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 | |
---|---|
Type | Description |
PlanNode.ChildLink |
getParserForType()
public Parser<PlanNode.ChildLink> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<ChildLink> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getType()
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. |
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()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public PlanNode.ChildLink.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
PlanNode.ChildLink.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PlanNode.ChildLink.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
PlanNode.ChildLink.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public PlanNode.ChildLink.Builder toBuilder()
Returns | |
---|---|
Type | Description |
PlanNode.ChildLink.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |