Enum DfFacetDefinition.ORDER

java.lang.Object
java.lang.Enum<DfFacetDefinition.ORDER>
com.documentum.fc.client.search.DfFacetDefinition.ORDER
All Implemented Interfaces:
Serializable, Comparable<DfFacetDefinition.ORDER>, java.lang.constant.Constable
Enclosing class:
DfFacetDefinition

public static enum DfFacetDefinition.ORDER extends Enum<DfFacetDefinition.ORDER>
Define the order of the facet value in the returned facets.
  • Enum Constant Details

    • FREQUENCY

      public static final DfFacetDefinition.ORDER FREQUENCY
      Ordered by count, descending
    • VALUE_ASCENDING

      public static final DfFacetDefinition.ORDER 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

      public static final DfFacetDefinition.ORDER 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

      public static final DfFacetDefinition.ORDER NONE
      Keep the order returned by the facet handler
  • Method Details

    • values

      public static DfFacetDefinition.ORDER[] 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

      public static DfFacetDefinition.ORDER valueOf(String name)
      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 name
      NullPointerException - if the argument is null