Package com.google.spanner.v1
Enum KeyRecipe.Part.NullOrder
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<KeyRecipe.Part.NullOrder>
- Enclosing class:
- KeyRecipe.Part
public static enum KeyRecipe.Part.NullOrder
extends Enum<KeyRecipe.Part.NullOrder>
implements com.google.protobuf.ProtocolMessageEnum
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 enum
google.spanner.v1.KeyRecipe.Part.NullOrder-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe column does not support NULL values.Default value.NULL values sort before any non-NULL values.NULL values sort after any non-NULL values. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe column does not support NULL values.static final intDefault value.static final intNULL values sort before any non-NULL values.static final intNULL values sort after any non-NULL values. -
Method Summary
Modifier and TypeMethodDescriptionstatic KeyRecipe.Part.NullOrderforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<KeyRecipe.Part.NullOrder>static KeyRecipe.Part.NullOrdervalueOf(int value) Deprecated.static KeyRecipe.Part.NullOrdervalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static KeyRecipe.Part.NullOrderReturns the enum constant of this type with the specified name.static KeyRecipe.Part.NullOrder[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NULL_ORDER_UNSPECIFIED
Default value. This value is unused.
NULL_ORDER_UNSPECIFIED = 0; -
NULLS_FIRST
NULL values sort before any non-NULL values.
NULLS_FIRST = 1; -
NULLS_LAST
NULL values sort after any non-NULL values.
NULLS_LAST = 2; -
NOT_NULL
The column does not support NULL values.
NOT_NULL = 3; -
UNRECOGNIZED
-
-
Field Details
-
NULL_ORDER_UNSPECIFIED_VALUE
public static final int NULL_ORDER_UNSPECIFIED_VALUEDefault value. This value is unused.
NULL_ORDER_UNSPECIFIED = 0;- See Also:
-
NULLS_FIRST_VALUE
public static final int NULLS_FIRST_VALUENULL values sort before any non-NULL values.
NULLS_FIRST = 1;- See Also:
-
NULLS_LAST_VALUE
public static final int NULLS_LAST_VALUENULL values sort after any non-NULL values.
NULLS_LAST = 2;- See Also:
-
NOT_NULL_VALUE
public static final int NOT_NULL_VALUEThe column does not support NULL values.
NOT_NULL = 3;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<KeyRecipe.Part.NullOrder> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static KeyRecipe.Part.NullOrder valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-