Enum SqlOrder.Order

    • Enum Constant Detail

      • ASC_NULLS_FIRST

        public static final SqlOrder.Order ASC_NULLS_FIRST
        ascending ordering, NULL values should be returned before non-NULL values
      • ASC_NULLS_LAST

        public static final SqlOrder.Order ASC_NULLS_LAST
        ascending ordering, NULL values should be returned after non-NULL values
      • DESC_NULLS_FIRST

        public static final SqlOrder.Order DESC_NULLS_FIRST
        descending ordering, NULL values should be returned before non-NULL values
      • DESC_NULLS_LAST

        public static final SqlOrder.Order DESC_NULLS_LAST
        descending ordering, NULL values should be returned after non-NULL values
    • Constructor Detail

      • Order

        private Order()
    • Method Detail

      • values

        public static SqlOrder.Order[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SqlOrder.Order c : SqlOrder.Order.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SqlOrder.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