Package com.azure.cosmos.models
Enum CompositePathSortOrder
- All Implemented Interfaces:
Serializable
,Comparable<CompositePathSortOrder>
,java.lang.constant.Constable
Represents the sorting order for a path in a composite index, for a
container in the Azure Cosmos DB database service.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionASCENDING sort order for composite paths.DESCENDING sort order for composite paths. -
Method Summary
Modifier and TypeMethodDescriptionstatic CompositePathSortOrder
Returns the enum constant of this type with the specified name.static CompositePathSortOrder[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ASCENDING
ASCENDING sort order for composite paths. -
DESCENDING
DESCENDING sort order for composite paths.
-
-
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
-