Enum Class Sort.NullPrecedence

java.lang.Object
java.lang.Enum<Sort.NullPrecedence>
io.quarkus.panache.common.Sort.NullPrecedence
All Implemented Interfaces:
Serializable, Comparable<Sort.NullPrecedence>, Constable
Enclosing class:
Sort

public static enum Sort.NullPrecedence extends Enum<Sort.NullPrecedence>
Represents the order of null columns.
  • Enum Constant Details

    • NULLS_FIRST

      public static final Sort.NullPrecedence NULLS_FIRST
      Sort by the null columns listed first in the resulting query.
    • NULLS_LAST

      public static final Sort.NullPrecedence NULLS_LAST
      Sort by the null columns listed last in the resulting query.
  • Method Details

    • values

      public static Sort.NullPrecedence[] 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 Sort.NullPrecedence 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