public enum ColumnType extends Enum<ColumnType>
| 枚举常量和说明 |
|---|
BINARY
Binary data.
|
BOOLEAN
Boolean type.
|
DATE
Date type, formatted as 'YYYY-MM-DD', represented by the java.sql.Date type.
|
DATETIME
Time type, formatted as 'YYYY-MM-DD hh:mm:ss.xxxxxx', represented by the java.sql.Timestamp type.
|
DOUBLE
64-bit double-precision floating-point type.
|
INTEGER
64-bit signed integer.
|
STRING
String type.
|
TIME
Time interval type, formatted as 'hh:mm:ss.xxxxxx', represented using the java.sql.Time type.
|
public static final ColumnType STRING
public static final ColumnType INTEGER
public static final ColumnType BOOLEAN
public static final ColumnType DOUBLE
public static final ColumnType BINARY
public static final ColumnType DATETIME
public static final ColumnType TIME
public static final ColumnType DATE
public static ColumnType[] values()
for (ColumnType c : ColumnType.values()) System.out.println(c);
public static ColumnType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2025. All Rights Reserved.