Class: Google::Apis::SpannerV1::QueryPlan
- Inherits:
-
Object
- Object
- Google::Apis::SpannerV1::QueryPlan
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/spanner_v1/classes.rb,
generated/google/apis/spanner_v1/representations.rb,
generated/google/apis/spanner_v1/representations.rb
Overview
Contains an ordered list of nodes appearing in the query plan.
Instance Attribute Summary collapse
-
#plan_nodes ⇒ Array<Google::Apis::SpannerV1::PlanNode>
The nodes in the query plan.
Instance Method Summary collapse
-
#initialize(**args) ⇒ QueryPlan
constructor
A new instance of QueryPlan.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ QueryPlan
Returns a new instance of QueryPlan
2073 2074 2075 |
# File 'generated/google/apis/spanner_v1/classes.rb', line 2073 def initialize(**args) update!(**args) end |
Instance Attribute Details
#plan_nodes ⇒ Array<Google::Apis::SpannerV1::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 in
plan_nodes
.
Corresponds to the JSON property planNodes
2071 2072 2073 |
# File 'generated/google/apis/spanner_v1/classes.rb', line 2071 def plan_nodes @plan_nodes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2078 2079 2080 |
# File 'generated/google/apis/spanner_v1/classes.rb', line 2078 def update!(**args) @plan_nodes = args[:plan_nodes] if args.key?(:plan_nodes) end |