public static enum DataStore.DBType extends java.lang.Enum<DataStore.DBType>
| Enum Constant and Description |
|---|
db2 |
microsoft |
oracle |
postgresql |
| Modifier and Type | Method and Description |
|---|---|
static DataStore.DBType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DataStore.DBType |
valueOfConnection(java.sql.Connection connection) |
static DataStore.DBType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataStore.DBType db2
public static final DataStore.DBType postgresql
public static final DataStore.DBType oracle
public static final DataStore.DBType microsoft
public static DataStore.DBType[] values()
for (DataStore.DBType c : DataStore.DBType.values()) System.out.println(c);
public static DataStore.DBType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static DataStore.DBType valueOfConnection(java.sql.Connection connection) throws java.sql.SQLException
java.sql.SQLException