Cloud Spanner V1 Client - Class ShortRepresentation (1.86.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

Namespace

Google \ Cloud \ Spanner \ V1 \ PlanNode

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
string

setDescription

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

Parameter
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this