Package com.documentum.fc.client.search
Enum DfFacetDefinition.ORDER
- All Implemented Interfaces:
Serializable
,Comparable<DfFacetDefinition.ORDER>
,java.lang.constant.Constable
- Enclosing class:
- DfFacetDefinition
Define the order of the facet value in the returned facets.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOrdered by count, descendingKeep the order returned by the facet handlerOrdered by value (ascending).Ordered by value (descending). -
Method Summary
Modifier and TypeMethodDescriptionstatic DfFacetDefinition.ORDER
Returns the enum constant of this type with the specified name.static DfFacetDefinition.ORDER[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
FREQUENCY
Ordered by count, descending -
VALUE_ASCENDING
Ordered by value (ascending). The sort is alphanumeric. We assume that even if the data type of the facet is date or numeric, the values are encoded in such way that they are alphanumerically sortable. -
VALUE_DESCENDING
Ordered by value (descending). The sort is alphanumeric. We assume that even if the data type of the facet is date or numeric, the values are encoded in such way that they are alphanumerically sortable. -
NONE
Keep the order returned by the facet handler
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-