Enum Class JDBCType
- All Implemented Interfaces:
Serializable,Comparable<JDBCType>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription非常大的整数类型 取值范围参照Long二进制数据 一般用于存储 byte 数组BOOLEAN (同义词 BIT) 一般对应Boolean日期类型 一般对应LocalDate日期和时间类型 一般对应LocalDateTime精确浮点数 (同义词 NUMERIC) 一般对应BigDecimal或BigIntegerDOUBLE 浮点数 取值范围参照DoubleFLOAT (同义词 REAL) 浮点数 取值范围参照Float整数类型 取值范围参照IntegerJSON 格式非常大的二进制数据 (用于 BLOB 无法存储的大小)非常大的文字 (用于 TEXT 无法存储的大小)较小的整数类型 取值范围参照Short很长的文字 (用于 VARCHAR 无法存储的大小)时间类型 一般对应LocalTime微小的整数类型 取值范围参照Byte较短的文字 一般对应String -
Method Summary
-
Enum Constant Details
-
TINYINT
-
SMALLINT
-
INT
-
BIGINT
-
FLOAT
-
DOUBLE
-
BOOLEAN
-
DECIMAL
精确浮点数 (同义词 NUMERIC) 一般对应BigDecimal或BigInteger -
DATE
-
TIME
-
DATETIME
日期和时间类型 一般对应LocalDateTime -
VARCHAR
-
TEXT
很长的文字 (用于 VARCHAR 无法存储的大小) -
LONGTEXT
非常大的文字 (用于 TEXT 无法存储的大小) -
BLOB
二进制数据 一般用于存储 byte 数组 -
LONGBLOB
非常大的二进制数据 (用于 BLOB 无法存储的大小) -
JSON
JSON 格式
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getByJavaType
-