public enum MySqlStatementType extends Enum<MySqlStatementType>
Enum Constant and Description |
---|
BLOCK |
CASE |
DECLARE |
DELETE |
IF |
INSERT |
LOOP |
SELECT |
SELECTINTO |
UNDEFINED |
UPDATE |
WHILE |
Modifier and Type | Method and Description |
---|---|
static MySqlStatementType |
getType(SQLStatement stmt) |
static MySqlStatementType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MySqlStatementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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
- 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 static MySqlStatementType getType(SQLStatement stmt)
Copyright © 2013–2017 Alibaba Group. All rights reserved.