final case class PlanNode(index: Int = 0, kind: Kind = ..., 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 = ...) 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].
- 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()
- Alphabetic
- By Inheritance
- PlanNode
- Product
- Equals
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
PlanNode(index: Int = 0, kind: Kind = ..., 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 = ...)
- 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.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addAllChildLinks(__vs: Iterable[ChildLink]): PlanNode
- def addChildLinks(__vs: ChildLink*): PlanNode
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val childLinks: Seq[ChildLink]
- def clearChildLinks: PlanNode
- def clearExecutionStats: PlanNode
- def clearMetadata: PlanNode
- def clearShortRepresentation: PlanNode
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
companion: PlanNode.type
- Definition Classes
- PlanNode → GeneratedMessage
- def discardUnknownFields: PlanNode
- val displayName: String
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val executionStats: Option[Struct]
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getExecutionStats: Struct
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- PlanNode → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- PlanNode → GeneratedMessage
- def getMetadata: Struct
- def getShortRepresentation: ShortRepresentation
- val index: Int
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val kind: Kind
- val metadata: Option[Struct]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
serializedSize: Int
- Definition Classes
- PlanNode → GeneratedMessage
- val shortRepresentation: Option[ShortRepresentation]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
-
final
def
toByteString: ByteString
- Definition Classes
- GeneratedMessage
-
final
def
toPMessage: PMessage
- Definition Classes
- GeneratedMessage
-
def
toProtoString: String
- Definition Classes
- PlanNode → GeneratedMessage
- val unknownFields: UnknownFieldSet
-
def
update(ms: (Lens[PlanNode, PlanNode]) ⇒ scalapb.lenses.Mutation[PlanNode]*): PlanNode
- Definition Classes
- Updatable
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withChildLinks(__v: Seq[ChildLink]): PlanNode
- def withDisplayName(__v: String): PlanNode
- def withExecutionStats(__v: Struct): PlanNode
- def withIndex(__v: Int): PlanNode
- def withKind(__v: Kind): PlanNode
- def withMetadata(__v: Struct): PlanNode
- def withShortRepresentation(__v: ShortRepresentation): PlanNode
- def withUnknownFields(__v: UnknownFieldSet): PlanNode
-
final
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- PlanNode → GeneratedMessage
-
final
def
writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage