Enum RelFieldCollation.Direction

    • Enum Constant Detail

      • ASCENDING

        public static final RelFieldCollation.Direction ASCENDING
        Ascending direction: A value is always followed by a greater or equal value.
      • STRICTLY_ASCENDING

        public static final RelFieldCollation.Direction STRICTLY_ASCENDING
        Strictly ascending direction: A value is always followed by a greater value.
      • DESCENDING

        public static final RelFieldCollation.Direction DESCENDING
        Descending direction: A value is always followed by a lesser or equal value.
      • STRICTLY_DESCENDING

        public static final RelFieldCollation.Direction STRICTLY_DESCENDING
        Strictly descending direction: A value is always followed by a lesser value.
      • CLUSTERED

        public static final RelFieldCollation.Direction CLUSTERED
        Clustered direction: Values occur in no particular order, and the same value may occur in contiguous groups, but never occurs after that. This sort order tends to occur when values are ordered according to a hash-key.
    • Field Detail

      • shortString

        public final java.lang.String shortString
    • Constructor Detail

      • Direction

        private Direction​(java.lang.String shortString)
    • Method Detail

      • values

        public static RelFieldCollation.Direction[] 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 (RelFieldCollation.Direction c : RelFieldCollation.Direction.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RelFieldCollation.Direction valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • defaultNullDirection

        public RelFieldCollation.NullDirection defaultNullDirection()
        Returns the null direction if not specified. Consistent with Oracle, NULLS are sorted as if they were positive infinity.