Reference documentation and code samples for the Cloud Spanner V1 API class Google::Cloud::Spanner::V1::QueryPlan.
Contains an ordered list of nodes appearing in the query plan.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#plan_nodes
def plan_nodes() -> ::Array<::Google::Cloud::Spanner::V1::PlanNode>
Returns
-
(::Array<::Google::Cloud::Spanner::V1::PlanNode>) — The nodes in the query plan. Plan nodes are returned in pre-order starting
with the plan root. Each PlanNode's
id
corresponds to its index inplan_nodes
.
#plan_nodes=
def plan_nodes=(value) -> ::Array<::Google::Cloud::Spanner::V1::PlanNode>
Parameter
-
value (::Array<::Google::Cloud::Spanner::V1::PlanNode>) — The nodes in the query plan. Plan nodes are returned in pre-order starting
with the plan root. Each PlanNode's
id
corresponds to its index inplan_nodes
.
Returns
-
(::Array<::Google::Cloud::Spanner::V1::PlanNode>) — The nodes in the query plan. Plan nodes are returned in pre-order starting
with the plan root. Each PlanNode's
id
corresponds to its index inplan_nodes
.