public enum ColType extends Enum<ColType>
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 ColType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColType CHAR
public static final ColType BOOLEAN
public static final ColType VARCHAR
public static final ColType TEXT
public static final ColType BINARY
public static final ColType TIMESTAMP
public static final ColType DATETIME
public static final ColType DATE
public static final ColType TIME
public static final ColType INT
public static final ColType FLOAT
public static final ColType PSQL_JSON
public static final ColType PSQL_ARRAY
public static final ColType MYSQL_JSON
public static final ColType AUTO
public static ColType[] values()
for (ColType c : ColType.values()) System.out.println(c);
public static ColType 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 © 2017. All rights reserved.