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
Methods
__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
.
Generated from protobuf field repeated .google.spanner.v1.PlanNode plan_nodes = 1;
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
.
Generated from protobuf field repeated .google.spanner.v1.PlanNode plan_nodes = 1;
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Spanner\V1\PlanNode>
|
Returns | |
---|---|
Type | Description |
$this |