@Volatile(reason="Defined types may receive a different type number when standardized in JDBC") public enum JaybirdType extends java.lang.Enum<JaybirdType> implements java.sql.SQLType
SQLType
definitions specific to Jaybird.Enum Constant and Description |
---|
DECFLOAT |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
java.lang.String |
getVendor() |
java.lang.Integer |
getVendorTypeNumber() |
static JaybirdType |
valueOf(int type)
Returns the
JaybirdType for a JaybirdTypeCodes value. |
static JaybirdType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JaybirdType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Volatile(reason="To be standardized by future version of JDBC, will be deprecated") public static final JaybirdType DECFLOAT
public static JaybirdType[] values()
for (JaybirdType c : JaybirdType.values()) System.out.println(c);
public static JaybirdType 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 java.lang.String getName()
getName
in interface java.sql.SQLType
public java.lang.String getVendor()
getVendor
in interface java.sql.SQLType
public java.lang.Integer getVendorTypeNumber()
getVendorTypeNumber
in interface java.sql.SQLType
public static JaybirdType valueOf(int type)
JaybirdType
for a JaybirdTypeCodes
value.type
- JaybirdTypeCodes
valueJaybirdType
constantjava.lang.IllegalArgumentException
- if this enum type has no constant with the specified JaybirdTypeCodes
valueCopyright © 2001-2020 Jaybird (Firebird JDBC/JCA) team. All rights reserved.