public enum FacetSortOrder extends Enum<FacetSortOrder>
Enum Constant and Description |
---|
COUNT_ASC
Facets are returned by count with the lowest count first
|
COUNT_DESC
Facets are returned by count with the lowest count first
|
FIELD_VALUE
Facets are returned in the alphabetical order
|
RANGE_DEFINITION_ORDER
The order in which ranges were defined.
|
Modifier and Type | Method and Description |
---|---|
static FacetSortOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FacetSortOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FacetSortOrder COUNT_ASC
public static final FacetSortOrder COUNT_DESC
public static final FacetSortOrder FIELD_VALUE
public static final FacetSortOrder RANGE_DEFINITION_ORDER
public static FacetSortOrder[] values()
for (FacetSortOrder c : FacetSortOrder.values()) System.out.println(c);
public static FacetSortOrder 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 © 2006-2017 Red Hat, Inc. All Rights Reserved