Enum Class Nulls

java.lang.Object
java.lang.Enum<Nulls>
jakarta.persistence.criteria.Nulls
All Implemented Interfaces:
Serializable, Comparable<Nulls>, Constable

public enum Nulls extends Enum<Nulls>
Specifies the precedence of null values within query result sets.
Since:
3.2
See Also:
  • Enum Constant Details

    • NONE

      public static final Nulls NONE
      Null precedence not specified.
    • FIRST

      public static final Nulls FIRST
      Null values occur at the beginning of the result set.
    • LAST

      public static final Nulls LAST
      Null values occur at the end of the result set.
  • Method Details

    • values

      public static Nulls[] 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 Nulls 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