Package org.ujmp.jdbc.util
Enum SQLUtil.SQLDialect
- java.lang.Object
-
- java.lang.Enum<SQLUtil.SQLDialect>
-
- org.ujmp.jdbc.util.SQLUtil.SQLDialect
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SQLUtil.SQLDialect>
- Enclosing class:
- SQLUtil
public static enum SQLUtil.SQLDialect extends java.lang.Enum<SQLUtil.SQLDialect>
-
-
Constructor Summary
Constructors Modifier Constructor Description private
SQLDialect()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SQLUtil.SQLDialect
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SQLUtil.SQLDialect[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MYSQL
public static final SQLUtil.SQLDialect MYSQL
-
POSTGRESQL
public static final SQLUtil.SQLDialect POSTGRESQL
-
MSSQL
public static final SQLUtil.SQLDialect MSSQL
-
HSQLDB
public static final SQLUtil.SQLDialect HSQLDB
-
ORACLE
public static final SQLUtil.SQLDialect ORACLE
-
DERBY
public static final SQLUtil.SQLDialect DERBY
-
HIVE
public static final SQLUtil.SQLDialect HIVE
-
DB2
public static final SQLUtil.SQLDialect DB2
-
SQLITE
public static final SQLUtil.SQLDialect SQLITE
-
H2
public static final SQLUtil.SQLDialect H2
-
-
Method Detail
-
values
public static SQLUtil.SQLDialect[] 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 (SQLUtil.SQLDialect c : SQLUtil.SQLDialect.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SQLUtil.SQLDialect 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 namejava.lang.NullPointerException
- if the argument is null
-
-