public enum MySqlStatementType extends Enum<MySqlStatementType>
枚举常量和说明 |
---|
BLOCK |
CASE |
DECLARE |
DELETE |
IF |
INSERT |
LOOP |
SELECT |
SELECTINTO |
UNDEFINED |
UPDATE |
WHILE |
限定符和类型 | 方法和说明 |
---|---|
static MySqlStatementType |
getType(SQLStatement stmt) |
static MySqlStatementType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static MySqlStatementType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final MySqlStatementType SELECT
public static final MySqlStatementType UPDATE
public static final MySqlStatementType INSERT
public static final MySqlStatementType DELETE
public static final MySqlStatementType WHILE
public static final MySqlStatementType IF
public static final MySqlStatementType LOOP
public static final MySqlStatementType BLOCK
public static final MySqlStatementType DECLARE
public static final MySqlStatementType SELECTINTO
public static final MySqlStatementType CASE
public static final MySqlStatementType UNDEFINED
public final String name
public static MySqlStatementType[] values()
for (MySqlStatementType c : MySqlStatementType.values()) System.out.println(c);
public static MySqlStatementType valueOf(String name)
name
- 要返回的枚举常量的名称。IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量NullPointerException
- 如果参数为空值public static MySqlStatementType getType(SQLStatement stmt)
Copyright © 2013–2016 Alibaba Group. All rights reserved.