Module org.jooq
Package org.jooq

Enum Class SQLDialectCategory

All Implemented Interfaces:
Serializable, Comparable<SQLDialectCategory>, Constable

public enum SQLDialectCategory extends Enum<SQLDialectCategory>
A category for SQLDialect.

Some SQLDialect families share a common category, as they are all derived from a common ancestor. Such categories can help define behaviour that is specific to all members of the category. For example, all SQLDialect.POSTGRES related dialects support casts of the form IDENTIFIER::TYPE.

Lukas Eder
  • Enum Constant Details

    • OTHER

      public static final SQLDialectCategory OTHER
      The default SQL dialect category.

      This dialect is chosen in the absence of a more explicit category.

    • MYSQL

      public static final SQLDialectCategory MYSQL
      The MySQL dialect category.

      public static final SQLDialectCategory POSTGRES
      The PostgreSQL dialect category.
    • TSQL

      @Pro public static final SQLDialectCategory TSQL
      The T-SQL dialect category.
  • Method Details

    • values

      public static SQLDialectCategory[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SQLDialectCategory 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.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • dialects

      @NotNull public final @NotNull Set<SQLDialect> dialects()
      Get all SQLDialect values belonging to this category.
    • families

      @NotNull public final @NotNull Set<SQLDialect> families()
      Get all SQLDialect families belonging to this category.