Enum KeyRange.Type (6.65.1)

public enum KeyRange.Type extends Enum<KeyRange.Type> implements ProtocolMessageEnum

Type controls whether "start" and "limit" are open or closed. By default, "start" is closed, and "limit" is open.

Protobuf enum google.spanner.executor.v1.KeyRange.Type

Implements

ProtocolMessageEnum

Static Fields

Name Description
CLOSED_CLOSED

[start,limit]

CLOSED_CLOSED = 1;

CLOSED_CLOSED_VALUE

[start,limit]

CLOSED_CLOSED = 1;

CLOSED_OPEN

[start,limit)

CLOSED_OPEN = 2;

CLOSED_OPEN_VALUE

[start,limit)

CLOSED_OPEN = 2;

OPEN_CLOSED

(start,limit]

OPEN_CLOSED = 3;

OPEN_CLOSED_VALUE

(start,limit]

OPEN_CLOSED = 3;

OPEN_OPEN

(start,limit)

OPEN_OPEN = 4;

OPEN_OPEN_VALUE

(start,limit)

OPEN_OPEN = 4;

TYPE_UNSPECIFIED

"TYPE_UNSPECIFIED" is equivalent to "CLOSED_OPEN".

TYPE_UNSPECIFIED = 0;

TYPE_UNSPECIFIED_VALUE

"TYPE_UNSPECIFIED" is equivalent to "CLOSED_OPEN".

TYPE_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()