Cloud Spanner V1 Client - Class ShortRepresentation (1.54.2)

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.

Generated from protobuf field string description = 1;

Returns
TypeDescription
string

setDescription

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

Generated from protobuf field string description = 1;

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.

Generated from protobuf field map<string, int32> subqueries = 2;

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.

Generated from protobuf field map<string, int32> subqueries = 2;

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