public enum MySQLColumnType extends Enum<MySQLColumnType> implements ColumnType
| Enum Constant and Description |
|---|
BASE_BOOLEAN |
BASE_BYTE |
BASE_CHAR |
BASE_DOUBLE |
BASE_FLOAT |
BASE_INT |
BASE_LONG |
BASE_SHORT |
BIG_DECIMAL |
BIG_INTEGER |
BLOB |
BOOLEAN |
BYTE |
BYTE_ARRAY |
CHARACTER |
CLOB |
DATE |
DATE_SQL |
DOUBLE |
FLOAT |
INTEGER |
LOCAL_DATE |
LOCAL_DATE_TIME |
LOCAL_TIME |
LONG |
OBJECT |
SHORT |
STRING |
TIME |
TIMESTAMP |
YEAR |
YEAR_MONTH |
| Modifier and Type | Method and Description |
|---|---|
String |
getPkg()
获取字段类型完整名
|
String |
getType()
获取字段类型
|
static MySQLColumnType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MySQLColumnType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MySQLColumnType BASE_BYTE
public static final MySQLColumnType BASE_SHORT
public static final MySQLColumnType BASE_CHAR
public static final MySQLColumnType BASE_INT
public static final MySQLColumnType BASE_LONG
public static final MySQLColumnType BASE_FLOAT
public static final MySQLColumnType BASE_DOUBLE
public static final MySQLColumnType BASE_BOOLEAN
public static final MySQLColumnType BYTE
public static final MySQLColumnType SHORT
public static final MySQLColumnType CHARACTER
public static final MySQLColumnType INTEGER
public static final MySQLColumnType LONG
public static final MySQLColumnType FLOAT
public static final MySQLColumnType DOUBLE
public static final MySQLColumnType BOOLEAN
public static final MySQLColumnType STRING
public static final MySQLColumnType DATE_SQL
public static final MySQLColumnType TIME
public static final MySQLColumnType TIMESTAMP
public static final MySQLColumnType BLOB
public static final MySQLColumnType CLOB
public static final MySQLColumnType LOCAL_DATE
public static final MySQLColumnType LOCAL_TIME
public static final MySQLColumnType YEAR
public static final MySQLColumnType YEAR_MONTH
public static final MySQLColumnType LOCAL_DATE_TIME
public static final MySQLColumnType BYTE_ARRAY
public static final MySQLColumnType OBJECT
public static final MySQLColumnType DATE
public static final MySQLColumnType BIG_INTEGER
public static final MySQLColumnType BIG_DECIMAL
public static MySQLColumnType[] values()
for (MySQLColumnType c : MySQLColumnType.values()) System.out.println(c);
public static MySQLColumnType 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 nullpublic String getType()
ColumnTypegetType in interface ColumnTypepublic String getPkg()
ColumnTypegetPkg in interface ColumnTypeCopyright © 2019. All rights reserved.