package query_plan
- Alphabetic
- Public
- Protected
Type Members
- final case class PlanNode(index: Int = 0, kind: Kind = com.google.spanner.v1.query_plan.PlanNode.Kind.KIND_UNSPECIFIED, displayName: String = "", childLinks: Seq[ChildLink] = _root_.scala.Seq.empty, shortRepresentation: Option[ShortRepresentation] = _root_.scala.None, metadata: Option[Struct] = _root_.scala.None, executionStats: Option[Struct] = _root_.scala.None, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[PlanNode] with Product with Serializable
Node information for nodes appearing in a [QueryPlan.plan_nodes][google.spanner.v1.QueryPlan.plan_nodes].
Node information for nodes appearing in a [QueryPlan.plan_nodes][google.spanner.v1.QueryPlan.plan_nodes].
- index
The
PlanNode's index in [node list][google.spanner.v1.QueryPlan.plan_nodes].- 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][google.spanner.v1.PlanNode.Kind.SCALAR] node, it will have a condensed representation which can be used to directly embed a description of the node in its parent.
- displayName
The display name for the node.
- childLinks
List of child node
indexes and their relationship to this parent.- shortRepresentation
Condensed representation for [SCALAR][google.spanner.v1.PlanNode.Kind.SCALAR] nodes.
- metadata
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" }
- executionStats
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.
- Annotations
- @SerialVersionUID()
- final case class QueryPlan(planNodes: Seq[PlanNode] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[QueryPlan] with Product with Serializable
Contains an ordered list of nodes appearing in the query plan.
Contains an ordered list of nodes appearing in the query plan.
- planNodes
The nodes in the query plan. Plan nodes are returned in pre-order starting with the plan root. Each [PlanNode][google.spanner.v1.PlanNode]'s
idcorresponds to its index inplan_nodes.
- Annotations
- @SerialVersionUID()