Reference documentation and code samples for the Cloud Spanner V1 Client class QueryPlan.
Contains an ordered list of nodes appearing in the query plan.
Generated from protobuf message google.spanner.v1.QueryPlan
Namespace
Google \ Cloud \ Spanner \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ plan_nodes |
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 |
getPlanNodes
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
.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setPlanNodes
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
.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Spanner\V1\PlanNode>
|
Returns | |
---|---|
Type | Description |
$this |