Enum Class Order.NullsPosition

java.lang.Object
java.lang.Enum<Order.NullsPosition>
org.elasticsearch.xpack.esql.expression.Order.NullsPosition
All Implemented Interfaces:
Serializable, Comparable<Order.NullsPosition>, Constable
Enclosing class:
Order

public static enum Order.NullsPosition extends Enum<Order.NullsPosition>
  • Enum Constant Details

    • FIRST

      public static final Order.NullsPosition FIRST
    • LAST

      public static final Order.NullsPosition LAST
    • ANY

      public static final Order.NullsPosition ANY
      Nulls position has not been specified by the user and an appropriate default will be used. The default values are chosen such that it stays compatible with previous behavior. Unfortunately, this results in inconsistencies across different types of queries (see https://github.com/elastic/elasticsearch/issues/77068).
  • Method Details

    • values

      public static Order.NullsPosition[] 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 Order.NullsPosition 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