Enum DatabaseVendor
- java.lang.Object
- 
- java.lang.Enum<DatabaseVendor>
- 
- com.inductiveautomation.ignition.common.datasource.DatabaseVendor
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<DatabaseVendor>
 
 public enum DatabaseVendor extends java.lang.Enum<DatabaseVendor> An enumeration of common RDBMS vendors. Used to exploit vendor-specific SQL extensions or work around syntax differences. Note that the order of this enum (e.g. theordinal()value) is important for backwards compatibility and serialization: don't re-arrange it.
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()static DatabaseVendorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DatabaseVendor[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
MYSQLpublic static final DatabaseVendor MYSQL 
 - 
POSTGRESpublic static final DatabaseVendor POSTGRES 
 - 
MSSQLpublic static final DatabaseVendor MSSQL 
 - 
GENERICpublic static final DatabaseVendor GENERIC 
 - 
ORACLEpublic static final DatabaseVendor ORACLE 
 - 
DB2public static final DatabaseVendor DB2 
 - 
FIREBIRDpublic static final DatabaseVendor FIREBIRD 
 - 
SQLITEpublic static final DatabaseVendor SQLITE 
 
- 
 - 
Method Detail- 
valuespublic static DatabaseVendor[] 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 (DatabaseVendor c : DatabaseVendor.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static DatabaseVendor 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 name
- java.lang.NullPointerException- if the argument is null
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Enum<DatabaseVendor>
 
 
- 
 
-