Cloud Spanner V1 Client - Class ShortRepresentation (1.59.0)

Reference documentation and code samples for the Cloud Spanner V1 Client class ShortRepresentation.

Condensed representation of a node and its subtree. Only present for SCALAR PlanNode(s).

Generated from protobuf message google.spanner.v1.PlanNode.ShortRepresentation

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ description string

A string representation of the expression subtree rooted at this node.

↳ subqueries array|Google\Protobuf\Internal\MapField

A mapping of (subquery variable name) -> (subquery node id) for cases where the description string of this node references a SCALAR subquery contained in the expression subtree rooted at this node. The referenced SCALAR subquery may not necessarily be a direct child of this node.

getDescription

A string representation of the expression subtree rooted at this node.

Returns
TypeDescription
string

setDescription

A string representation of the expression subtree rooted at this node.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSubqueries

A mapping of (subquery variable name) -> (subquery node id) for cases where the description string of this node references a SCALAR subquery contained in the expression subtree rooted at this node. The referenced SCALAR subquery may not necessarily be a direct child of this node.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setSubqueries

A mapping of (subquery variable name) -> (subquery node id) for cases where the description string of this node references a SCALAR subquery contained in the expression subtree rooted at this node. The referenced SCALAR subquery may not necessarily be a direct child of this node.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this