Class PlanNode.Builder (6.72.0)

public static final class PlanNode.Builder extends GeneratedMessageV3.Builder<PlanNode.Builder> implements PlanNodeOrBuilder

Node information for nodes appearing in a QueryPlan.plan_nodes.

Protobuf type google.spanner.v1.PlanNode

Implements

PlanNodeOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

public PlanNode.Builder addAllChildLinks(Iterable<? extends PlanNode.ChildLink> values)

List of child node indexes and their relationship to this parent.

repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4;

Parameter
Name Description
values Iterable<? extends com.google.spanner.v1.PlanNode.ChildLink>
Returns
Type Description
PlanNode.Builder
public PlanNode.Builder addChildLinks(PlanNode.ChildLink value)

List of child node indexes and their relationship to this parent.

repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4;

Parameter
Name Description
value PlanNode.ChildLink
Returns
Type Description
PlanNode.Builder
public PlanNode.Builder addChildLinks(PlanNode.ChildLink.Builder builderForValue)

List of child node indexes and their relationship to this parent.

repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4;

Parameter
Name Description
builderForValue PlanNode.ChildLink.Builder
Returns
Type Description
PlanNode.Builder
public PlanNode.Builder addChildLinks(int index, PlanNode.ChildLink value)

List of child node indexes and their relationship to this parent.

repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4;

Parameters
Name Description
index int
value PlanNode.ChildLink
Returns
Type Description
PlanNode.Builder
public PlanNode.Builder addChildLinks(int index, PlanNode.ChildLink.Builder builderForValue)

List of child node indexes and their relationship to this parent.

repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4;

Parameters
Name Description
index int
builderForValue PlanNode.ChildLink.Builder
Returns
Type Description
PlanNode.Builder

addChildLinksBuilder()

public PlanNode.ChildLink.Builder addChildLinksBuilder()

List of child node indexes and their relationship to this parent.

repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4;

Returns
Type Description
PlanNode.ChildLink.Builder

addChildLinksBuilder(int index)

public PlanNode.ChildLink.Builder addChildLinksBuilder(int index)

List of child node indexes and their relationship to this parent.

repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4;

Parameter
Name Description
index int
Returns
Type Description
PlanNode.ChildLink.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PlanNode.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PlanNode.Builder
Overrides

build()

public PlanNode build()
Returns
Type Description
PlanNode

buildPartial()

public PlanNode buildPartial()
Returns
Type Description
PlanNode

clear()

public PlanNode.Builder clear()
Returns
Type Description
PlanNode.Builder
Overrides
public PlanNode.Builder clearChildLinks()

List of child node indexes and their relationship to this parent.

repeated .google.spanner.v1.PlanNode.ChildLink child_links = 4;

Returns
Type Description
PlanNode.Builder

clearDisplayName()

public PlanNode.Builder clearDisplayName()

The display name for the node.

string display_name = 3;

Returns
Type Description
PlanNode.Builder

This builder for chaining.

clearExecutionStats()

public PlanNode.Builder clearExecutionStats()

The execution statistics associated with the node, contained in a group of key-value pairs. Only present if the plan was returned as a result of a profile query. For example, number of executions, number of rows/time per execution etc.

.google.protobuf.Struct execution_stats = 7;

Returns
Type Description
PlanNode.Builder

clearField(Descriptors.FieldDescriptor field)

public PlanNode.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns</