Reference documentation and code samples for the Cloud Spanner V1 API class Google::Cloud::Spanner::V1::PlanNode.
Node information for nodes appearing in a QueryPlan.plan_nodes.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#child_links
def child_links() -> ::Array<::Google::Cloud::Spanner::V1::PlanNode::ChildLink>
-
(::Array<::Google::Cloud::Spanner::V1::PlanNode::ChildLink>) — List of child node
index
es and their relationship to this parent.
#child_links=
def child_links=(value) -> ::Array<::Google::Cloud::Spanner::V1::PlanNode::ChildLink>
-
value (::Array<::Google::Cloud::Spanner::V1::PlanNode::ChildLink>) — List of child node
index
es and their relationship to this parent.
-
(::Array<::Google::Cloud::Spanner::V1::PlanNode::ChildLink>) — List of child node
index
es and their relationship to this parent.
#display_name
def display_name() -> ::String
- (::String) — The display name for the node.
#display_name=
def display_name=(value) -> ::String
- value (::String) — The display name for the node.
- (::String) — The display name for the node.
#execution_stats
def execution_stats() -> ::Google::Protobuf::Struct
- (::Google::Protobuf::Struct) — 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.
#execution_stats=
def execution_stats=(value) -> ::Google::Protobuf::Struct
- value (::Google::Protobuf::Struct) — 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) — 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.
#index
def index() -> ::Integer
-
(::Integer) — The
PlanNode
's index in node list.
#index=
def index=(value) -> ::Integer
-
value (::Integer) — The
PlanNode
's index in node list.
-
(::Integer) — The
PlanNode
's index in node list.
#kind
def kind() -> ::Google::Cloud::Spanner::V1::PlanNode::Kind
- (::Google::Cloud::Spanner::V1::PlanNode::Kind) — Used to determine the type of node. May be needed for visualizing different kinds of nodes differently. For example, If the node is a SCALAR node, it will have a condensed representation which can be used to directly embed a description of the node in its parent.
#kind=
def kind=(value) -> ::Google::Cloud::Spanner::V1::PlanNode::Kind
- value (::Google::Cloud::Spanner::V1::PlanNode::Kind) — Used to determine the type of node. May be needed for visualizing different kinds of nodes differently. For example, If the node is a SCALAR node, it will have a condensed representation which can be used to directly embed a description of the node in its parent.
- (::Google::Cloud::Spanner::V1::PlanNode::Kind) — Used to determine the type of node. May be needed for visualizing different kinds of nodes differently. For example, If the node is a SCALAR node, it will have a condensed representation which can be used to directly embed a description of the node in its parent.
#metadata
def metadata() -> ::Google::Protobuf::Struct
-
(::Google::Protobuf::Struct) —
Attributes relevant to the node contained in a group of key-value pairs. For example, a Parameter Reference node could have the following information in its metadata:
{ "parameter_reference": "param1", "parameter_type": "array" }
#metadata=
def metadata=(value) -> ::Google::Protobuf::Struct
-
value (::Google::Protobuf::Struct) —
Attributes relevant to the node contained in a group of key-value pairs. For example, a Parameter Reference node could have the following information in its metadata:
{ "parameter_reference": "param1", "parameter_type": "array" }
-
(::Google::Protobuf::Struct) —
Attributes relevant to the node contained in a group of key-value pairs. For example, a Parameter Reference node could have the following information in its metadata:
{ "parameter_reference": "param1", "parameter_type": "array" }
#short_representation
def short_representation() -> ::Google::Cloud::Spanner::V1::PlanNode::ShortRepresentation
- (::Google::Cloud::Spanner::V1::PlanNode::ShortRepresentation) — Condensed representation for SCALAR nodes.
#short_representation=
def short_representation=(value) -> ::Google::Cloud::Spanner::V1::PlanNode::ShortRepresentation
- value (::Google::Cloud::Spanner::V1::PlanNode::ShortRepresentation) — Condensed representation for SCALAR nodes.
- (::Google::Cloud::Spanner::V1::PlanNode::ShortRepresentation) — Condensed representation for SCALAR nodes.