public static enum SqlOrder.Order extends Enum<SqlOrder.Order>
| Enum Constant and Description |
|---|
ASC
ascending ordering
|
ASC_NULLS_FIRST
ascending ordering, NULL values should be returned before non-NULL values
|
ASC_NULLS_LAST
ascending ordering, NULL values should be returned after non-NULL values
|
DESC
descending ordering
|
DESC_NULLS_FIRST
descending ordering, NULL values should be returned before non-NULL values
|
DESC_NULLS_LAST
descending ordering, NULL values should be returned after non-NULL values
|
NONE
no ordering
|
| Modifier and Type | Method and Description |
|---|---|
static SqlOrder.Order |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlOrder.Order[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlOrder.Order NONE
public static final SqlOrder.Order ASC
public static final SqlOrder.Order DESC
public static final SqlOrder.Order ASC_NULLS_FIRST
public static final SqlOrder.Order ASC_NULLS_LAST
public static final SqlOrder.Order DESC_NULLS_FIRST
public static final SqlOrder.Order DESC_NULLS_LAST
public static SqlOrder.Order[] values()
for (SqlOrder.Order c : SqlOrder.Order.values()) System.out.println(c);
public static SqlOrder.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 nameNullPointerException - if the argument is nullCopyright © 2018. All rights reserved.