public enum SqlType extends Enum<SqlType> implements ValueAndText
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getText() |
String |
getValue() |
static SqlType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static SqlType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final SqlType VARCHAR
public static final SqlType INTEGER
public static final SqlType BOOLEAN
public static final SqlType BIGINT
public static final SqlType FLOAT
public static final SqlType DOUBLE
public static final SqlType DECIMAL
public static final SqlType DATE
public static final SqlType TIME
public static final SqlType BLOB
public static SqlType[] values()
for (SqlType c : SqlType.values()) System.out.println(c);
public static SqlType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getValue()
getValue 在接口中 ValueAndTextpublic String getText()
getText 在接口中 ValueAndTextCopyright © 2019. All rights reserved.