public enum FacetSortOrder extends Enum<FacetSortOrder>
| Enum Constant and Description |
|---|
COUNT_ASC |
COUNT_DESC |
TOPIC_ASC |
TOPIC_DESC |
| Modifier and Type | Method and Description |
|---|---|
String |
getSortClause() |
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 TOPIC_DESC
public static final FacetSortOrder TOPIC_ASC
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 nullpublic String getSortClause()
Copyright © 2017–2020 CodeLutin. All rights reserved.