|
Spring Data MongoDB - Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Order>
org.springframework.data.mongodb.core.query.Order
Sort.Direction
@Deprecated public enum Order
An enum that specifies the ordering for sort or index specifications
| Enum Constant Summary | |
|---|---|
ASCENDING
Deprecated. |
|
DESCENDING
Deprecated. |
|
| Method Summary | |
|---|---|
abstract Sort.Direction |
toDirection()
Deprecated. |
static Order |
valueOf(String name)
Deprecated. Returns the enum constant of this type with the specified name. |
static Order[] |
values()
Deprecated. Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Order ASCENDING
public static final Order DESCENDING
| Method Detail |
|---|
public static Order[] values()
for (Order c : Order.values()) System.out.println(c);
public static Order valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic abstract Sort.Direction toDirection()
|
Spring Data MongoDB - Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||