Enum ReadRequest.OrderBy (6.72.0)

public enum ReadRequest.OrderBy extends Enum<ReadRequest.OrderBy> implements ProtocolMessageEnum

An option to control the order in which rows are returned from a read.

Protobuf enum google.spanner.v1.ReadRequest.OrderBy

Implements

ProtocolMessageEnum

Static Fields

Name Description
ORDER_BY_NO_ORDER

Read rows are returned in any order.

ORDER_BY_NO_ORDER = 2;

ORDER_BY_NO_ORDER_VALUE

Read rows are returned in any order.

ORDER_BY_NO_ORDER = 2;

ORDER_BY_PRIMARY_KEY

Read rows are returned in primary key order.

In the event that this option is used in conjunction with the partition_token field, the API will return an INVALID_ARGUMENT error.

ORDER_BY_PRIMARY_KEY = 1;

ORDER_BY_PRIMARY_KEY_VALUE

Read rows are returned in primary key order.

In the event that this option is used in conjunction with the partition_token field, the API will return an INVALID_ARGUMENT error.

ORDER_BY_PRIMARY_KEY = 1;

ORDER_BY_UNSPECIFIED

Default value.

ORDER_BY_UNSPECIFIED is equivalent to ORDER_BY_PRIMARY_KEY.

ORDER_BY_UNSPECIFIED = 0;

ORDER_BY_UNSPECIFIED_VALUE

Default value.

ORDER_BY_UNSPECIFIED is equivalent to ORDER_BY_PRIMARY_KEY.

ORDER_BY_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()