Module org.jooq
Package org.jooq

Enum Comparator

    • Method Detail

      • values

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

        public static Comparator 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
      • toSQL

        public String toSQL()
        A SQL rendition of this comparator.
      • toKeyword

        public Keyword toKeyword()
        A keyword rendition of this comparator.
      • inverse

        public Comparator inverse()
        Get the inverse comparator such that A [op] B and NOT(A [inverse op] B).
      • mirror

        public Comparator mirror()
        Get the mirrored comparator such that A [op] B and B [mirrored op] A, or null if the comparator cannot be mirrored.
      • supportsQuantifier

        @Deprecated
        public boolean supportsQuantifier()
        Deprecated.
        - 3.14.0 - [#9911] - This method is no longer supported.
        Whether this comparator supports quantifiers on the right-hand side.
      • supportsSubselect

        @Deprecated
        public boolean supportsSubselect()
        Deprecated.
        - 3.14.0 - [#9911] - This method is no longer supported.
        Whether this comparator supports subselects on the right-hand side.