Enum PropertySQLProvider.Factory.SQLDialect
- java.lang.Object
-
- java.lang.Enum<PropertySQLProvider.Factory.SQLDialect>
-
- org.apache.activemq.artemis.jdbc.store.sql.PropertySQLProvider.Factory.SQLDialect
-
- All Implemented Interfaces:
Serializable,Comparable<PropertySQLProvider.Factory.SQLDialect>
- Enclosing class:
- PropertySQLProvider.Factory
public static enum PropertySQLProvider.Factory.SQLDialect extends Enum<PropertySQLProvider.Factory.SQLDialect>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PropertySQLProvider.Factory.SQLDialectidentifyDialect(String name)Return null if no known dialect has been identified.static PropertySQLProvider.Factory.SQLDialectvalueOf(String name)Returns the enum constant of this type with the specified name.static PropertySQLProvider.Factory.SQLDialect[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ORACLE
public static final PropertySQLProvider.Factory.SQLDialect ORACLE
-
POSTGRESQL
public static final PropertySQLProvider.Factory.SQLDialect POSTGRESQL
-
DERBY
public static final PropertySQLProvider.Factory.SQLDialect DERBY
-
MYSQL
public static final PropertySQLProvider.Factory.SQLDialect MYSQL
-
DB2
public static final PropertySQLProvider.Factory.SQLDialect DB2
-
HSQL
public static final PropertySQLProvider.Factory.SQLDialect HSQL
-
H2
public static final PropertySQLProvider.Factory.SQLDialect H2
-
MSSQL
public static final PropertySQLProvider.Factory.SQLDialect MSSQL
-
SYBASE
public static final PropertySQLProvider.Factory.SQLDialect SYBASE
-
-
Method Detail
-
values
public static PropertySQLProvider.Factory.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 (PropertySQLProvider.Factory.SQLDialect c : PropertySQLProvider.Factory.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 PropertySQLProvider.Factory.SQLDialect 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 nameNullPointerException- if the argument is null
-
identifyDialect
public static PropertySQLProvider.Factory.SQLDialect identifyDialect(String name)
Return null if no known dialect has been identified.
-
-