Enum Class Dialect

java.lang.Object
java.lang.Enum<Dialect>
org.apized.gradle.Dialect
All Implemented Interfaces:
Serializable, Comparable<Dialect>, Constable

public enum Dialect extends Enum<Dialect>
Database dialect
  • Enum Constant Details

    • H2

      public static final Dialect H2
      H2
    • MYSQL

      public static final Dialect MYSQL
      MYSQL
    • POSTGRES

      public static final Dialect POSTGRES
      POSTGRES
    • SQL_SERVER

      public static final Dialect SQL_SERVER
      SQL_SERVER
    • ORACLE

      public static final Dialect ORACLE
      ORACLE
    • ANSI

      public static final Dialect ANSI
      ANSI - the default
  • Method Details

    • values

      public static Dialect[] 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 Dialect 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