Cloud Spanner V1 Client - Class NullOrder (2.1.0)

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

The null order of the key column. This dictates where NULL values sort in the sorted order. Note that columns which are NOT NULL can have a special encoding.

Protobuf type google.spanner.v1.KeyRecipe.Part.NullOrder

Namespace

Google \ Cloud \ Spanner \ V1 \ KeyRecipe \ Part

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

NULL_ORDER_UNSPECIFIED

Value: 0

Default value. This value is unused.

Generated from protobuf enum NULL_ORDER_UNSPECIFIED = 0;

NULLS_FIRST

Value: 1

NULL values sort before any non-NULL values.

Generated from protobuf enum NULLS_FIRST = 1;

NULLS_LAST

Value: 2

NULL values sort after any non-NULL values.

Generated from protobuf enum NULLS_LAST = 2;

NOT_NULL

Value: 3

The column does not support NULL values.

Generated from protobuf enum NOT_NULL = 3;