public enum CountDistinctOrder extends Enum<CountDistinctOrder>
Query.setCountDistinct(CountDistinctOrder)
.Enum Constant and Description |
---|
ATTR_ASC
order by attribute ascending
|
ATTR_DESC
order by attribute descending
|
COUNT_ASC_ATTR_ASC
order by count ascending and attribute ascending
|
COUNT_ASC_ATTR_DESC
order by count ascending and attribute descending
|
COUNT_DESC_ATTR_ASC
order by count descending and attribute ascending
|
COUNT_DESC_ATTR_DESC
order by count descending and attribute descending
|
NO_ORDERING |
Modifier and Type | Method and Description |
---|---|
static CountDistinctOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CountDistinctOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CountDistinctOrder NO_ORDERING
public static final CountDistinctOrder ATTR_ASC
public static final CountDistinctOrder ATTR_DESC
public static final CountDistinctOrder COUNT_ASC_ATTR_ASC
public static final CountDistinctOrder COUNT_ASC_ATTR_DESC
public static final CountDistinctOrder COUNT_DESC_ATTR_ASC
public static final CountDistinctOrder COUNT_DESC_ATTR_DESC
public static CountDistinctOrder[] values()
for (CountDistinctOrder c : CountDistinctOrder.values()) System.out.println(c);
public static CountDistinctOrder 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 © 2019. All rights reserved.