public enum ColumnTypeEnum extends Enum<ColumnTypeEnum>
Enum Constant and Description |
---|
AUTO
自动
|
BINARY
二进制,对应 Blob
|
BOOLEAN
不解释
|
CHAR
不解释
|
DATE
不解释
|
DATETIME
不解释
|
FLOAT
浮点:根据字段的宽度和精度来决定具体的数据库字段类型
|
INT
整型:根据字段的宽度来决定具体的数据库字段类型
|
MYSQL_JSON
JSON:MySQL 的 JSON 类型
|
PSQL_ARRAY
数组:PostgreSQL 的数组类型
|
PSQL_JSON
JSON:PostgreSQL 的 JSON 类型
|
TEXT
长文本,对应 Clob
|
TIME
不解释
|
TIMESTAMP
不解释
|
VARCHAR
不解释
|
Modifier and Type | Method and Description |
---|---|
static ColumnTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColumnTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColumnTypeEnum CHAR
public static final ColumnTypeEnum BOOLEAN
public static final ColumnTypeEnum VARCHAR
public static final ColumnTypeEnum TEXT
public static final ColumnTypeEnum BINARY
public static final ColumnTypeEnum TIMESTAMP
public static final ColumnTypeEnum DATETIME
public static final ColumnTypeEnum DATE
public static final ColumnTypeEnum TIME
public static final ColumnTypeEnum INT
public static final ColumnTypeEnum FLOAT
public static final ColumnTypeEnum PSQL_JSON
public static final ColumnTypeEnum PSQL_ARRAY
public static final ColumnTypeEnum MYSQL_JSON
public static final ColumnTypeEnum AUTO
public static ColumnTypeEnum[] values()
for (ColumnTypeEnum c : ColumnTypeEnum.values()) System.out.println(c);
public static ColumnTypeEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020. All rights reserved.