Enum Class Rank.RankMode

java.lang.Object
java.lang.Enum<Rank.RankMode>
com.pervasive.datarush.analytics.stats.Rank.RankMode
All Implemented Interfaces:
Serializable, Comparable<Rank.RankMode>, java.lang.constant.Constable
Enclosing class:
Rank

public static enum Rank.RankMode extends Enum<Rank.RankMode>
Definition of the supported rank modes.
  • Enum Constant Details

    • STANDARD

      public static final Rank.RankMode STANDARD
      Standard or competitive ranking that leaves gaps in assigned ranks.
    • DENSE

      public static final Rank.RankMode DENSE
      Dense ranking, similar to standard but does not leave gaps.
    • ORDINAL

      public static final Rank.RankMode ORDINAL
      Ordinal ranking where each item receives a distinct rank.
  • Method Details

    • values

      public static Rank.RankMode[] 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

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