Package de.elo.ix.client.esearch
Enum Class ESearchOrderE
- All Implemented Interfaces:
Serializable
,Comparable<ESearchOrderE>
,Constable
Sort options for ElasticSearch.
- Since:
- 10.99.999.022
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSort by title, ascendingSort by title, descendingSort by internal (archive defined) date, ascendingSort by internal (archive defined) date, descendingSort by relevance of sords, calculated by ElasticSearc, descendingSort by last change, ascendingSort by last change, descendingSort by external (user defined) date, ascendingSort by external (user defined) date, descending -
Method Summary
Modifier and TypeMethodDescriptionstatic ESearchOrderE
Returns the enum constant of this class with the specified name.static ESearchOrderE[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IDATE_DESC
Sort by internal (archive defined) date, descending- See Also:
-
IDATE_ASC
Sort by internal (archive defined) date, ascending- See Also:
-
XDATE_DESC
Sort by external (user defined) date, descending- See Also:
-
XDATE_ASC
Sort by external (user defined) date, ascending- See Also:
-
ALPHA_DESC
Sort by title, descending- See Also:
-
ALPHA_ASC
Sort by title, ascending
- See Also:
-
TSTAMP_DESC
Sort by last change, descending
Value is not always synchronized with DB because
Sord.TStamp
is updated by changes not relevant for iSearch.- See Also:
-
TSTAMP_ASC
Sort by last change, ascending
Value is not always synchronized with DB because
Sord.TStamp
is updated by changes not relevant for iSearch.- See Also:
-
RELEVANCE
Sort by relevance of sords, calculated by ElasticSearc, descending
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-