Enum RiderDataSource.DBType
- java.lang.Object
-
- java.lang.Enum<RiderDataSource.DBType>
-
- com.github.database.rider.core.connection.RiderDataSource.DBType
-
- All Implemented Interfaces:
Serializable,Comparable<RiderDataSource.DBType>
- Enclosing class:
- RiderDataSource
public static enum RiderDataSource.DBType extends Enum<RiderDataSource.DBType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RiderDataSource.DBTypevalueOf(String name)Returns the enum constant of this type with the specified name.static RiderDataSource.DBType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HSQLDB
public static final RiderDataSource.DBType HSQLDB
-
H2
public static final RiderDataSource.DBType H2
-
MYSQL
public static final RiderDataSource.DBType MYSQL
-
ORACLE
public static final RiderDataSource.DBType ORACLE
-
POSTGRESQL
public static final RiderDataSource.DBType POSTGRESQL
-
DB2
public static final RiderDataSource.DBType DB2
-
MSSQL
public static final RiderDataSource.DBType MSSQL
-
UNKNOWN
public static final RiderDataSource.DBType UNKNOWN
-
-
Method Detail
-
values
public static RiderDataSource.DBType[] 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 (RiderDataSource.DBType c : RiderDataSource.DBType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RiderDataSource.DBType 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
-
-