public enum SQLStatementType extends Enum<SQLStatementType>
| 限定符和类型 | 方法和说明 |
|---|---|
static SQLStatementType |
nameOf(String name)
Get SQL statement type via name.
|
static SQLStatementType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static SQLStatementType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final SQLStatementType CREATE_TABLE
public static final SQLStatementType ALTER_TABLE
public static final SQLStatementType DROP_TABLE
public static final SQLStatementType TRUNCATE_TABLE
public static final SQLStatementType CREATE_INDEX
public static final SQLStatementType ALTER_INDEX
public static final SQLStatementType DROP_INDEX
public static final SQLStatementType SELECT
public static final SQLStatementType SET_TRANSACTION
public static final SQLStatementType COMMIT
public static final SQLStatementType ROLLBACK
public static final SQLStatementType SAVEPOINT
public static final SQLStatementType BEGIN_WORK
public static final SQLStatementType SET_AUTO_COMMIT
public static final SQLStatementType SHOW
public static final SQLStatementType SET_PARAM
public static final SQLStatementType RESET_PARAM
public static SQLStatementType[] values()
for (SQLStatementType c : SQLStatementType.values()) System.out.println(c);
public static SQLStatementType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static SQLStatementType nameOf(String name)
name - name of SQL statement typeCopyright © 2018. All rights reserved.