Enum SQLDataType
- All Implemented Interfaces:
Serializable
,Comparable<SQLDataType>
,Constable
Defines the possible SQL data types.
- Since:
- 2.2.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSpecifies the SQL data typeARRAY
.Specifies the SQL data typeBIGINT
.Specifies the SQL data typeBINARY
.Specifies the SQL data typeBIT
.Specifies the SQL data typeBLOB
.Specifies the SQL data typeBOOLEAN
.Specifies the SQL data typeCHAR
.Specifies the SQL data typeCLOB
.Specifies the SQL data typeDATE
.Specifies the SQL data typeDECIMAL
.Specifies the SQL data typeDOUBLE
.Specifies the SQL data typeFLOAT
.Specifies the SQL data typeINTEGER
.Specifies the SQL data typeLONGNVARCHAR
.Specifies the SQL data typeLONGVARBINARY
.Specifies the SQL data typeLONGVARCHAR
.Specifies the SQL data typeNCHAR
.Specifies the SQL data typeNCLOB
.Specifies the SQL data typeNUMERIC
.Specifies the SQL data typeNVARCHAR
.Specifies the SQL data typeREAL
.Specifies the SQL data typeROWID
.Specifies the SQL data typeSMALLINT
.Specifies the SQL data typeSQLXML
.Specifies the SQL data typeTIME
.Specifies the SQL data typeTIMESTAMP
.Specifies the SQL data typeTINYINT
.Specifies the SQL data typeUNKNOWN
.Specifies the SQL data typeVARBINARY
.Specifies the SQL data typeVARCHAR
. -
Method Summary
Modifier and TypeMethodDescriptionstatic SQLDataType
parse
(int type) static SQLDataType
static SQLDataType
static SQLDataType
Returns the enum constant of this type with the specified name.static SQLDataType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
BOOLEAN
Specifies the SQL data typeBOOLEAN
. -
BIT
Specifies the SQL data typeBIT
. -
BIGINT
Specifies the SQL data typeBIGINT
. -
INTEGER
Specifies the SQL data typeINTEGER
. -
SMALLINT
Specifies the SQL data typeSMALLINT
. -
TINYINT
Specifies the SQL data typeTINYINT
. -
DECIMAL
Specifies the SQL data typeDECIMAL
. -
NUMERIC
Specifies the SQL data typeNUMERIC
. -
DOUBLE
Specifies the SQL data typeDOUBLE
. -
REAL
Specifies the SQL data typeREAL
. -
FLOAT
Specifies the SQL data typeFLOAT
. -
CHAR
Specifies the SQL data typeCHAR
. -
VARCHAR
Specifies the SQL data typeVARCHAR
. -
LONGVARCHAR
Specifies the SQL data typeLONGVARCHAR
. -
NCHAR
Specifies the SQL data typeNCHAR
. -
NVARCHAR
Specifies the SQL data typeNVARCHAR
. -
LONGNVARCHAR
Specifies the SQL data typeLONGNVARCHAR
. -
BINARY
Specifies the SQL data typeBINARY
. -
VARBINARY
Specifies the SQL data typeVARBINARY
. -
LONGVARBINARY
Specifies the SQL data typeLONGVARBINARY
. -
ARRAY
Specifies the SQL data typeARRAY
. -
DATE
Specifies the SQL data typeDATE
. -
TIME
Specifies the SQL data typeTIME
. -
TIMESTAMP
Specifies the SQL data typeTIMESTAMP
. -
BLOB
Specifies the SQL data typeBLOB
. -
CLOB
Specifies the SQL data typeCLOB
. -
NCLOB
Specifies the SQL data typeNCLOB
. -
ROWID
Specifies the SQL data typeROWID
. -
SQLXML
Specifies the SQL data typeSQLXML
. -
UNKNOWN
Specifies the SQL data typeUNKNOWN
.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
parse
-
parse
-
parse
-