Cloud Spanner V1 Client - Class Key (1.93.0)

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

A split key.

Generated from protobuf message google.spanner.admin.database.v1.SplitPoints.Key

Namespace

Google \ Cloud \ Spanner \ Admin \ Database \ V1 \ SplitPoints

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ key_parts Google\Protobuf\ListValue

Required. The column values making up the split key.

getKeyParts

Required. The column values making up the split key.

Returns
Type Description
Google\Protobuf\ListValue|null

hasKeyParts

clearKeyParts

setKeyParts

Required. The column values making up the split key.

Parameter
Name Description
var Google\Protobuf\ListValue
Returns
Type Description
$this