public enum TdbFacetSortOrder extends java.lang.Enum<TdbFacetSortOrder>
Enum Constant and Description |
---|
Default
Default sort order, determined by server and depending on facet type.
|
FrequencyAscending
Sort by frequency, lowest occurrence first.
|
FrequencyDescending
Sort by frequency, highest occurrence first.
|
ValueAscending
Sort by value, alphabetical order.
|
ValueDescending
Sort by value, reverse alphabetical order.
|
Modifier and Type | Method and Description |
---|---|
static TdbFacetSortOrder |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TdbFacetSortOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TdbFacetSortOrder Default
public static final TdbFacetSortOrder FrequencyAscending
public static final TdbFacetSortOrder FrequencyDescending
public static final TdbFacetSortOrder ValueAscending
public static final TdbFacetSortOrder ValueDescending
public static TdbFacetSortOrder[] values()
for (TdbFacetSortOrder c : TdbFacetSortOrder.values()) System.out.println(c);
public static TdbFacetSortOrder valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null