public enum SqlCommandType extends Enum<SqlCommandType>
Enum Constant and Description |
---|
DELETE |
INSERT |
SELECT |
UNKNOWN |
UPDATE |
Modifier and Type | Method and Description |
---|---|
static SqlCommandType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlCommandType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlCommandType UNKNOWN
public static final SqlCommandType INSERT
public static final SqlCommandType UPDATE
public static final SqlCommandType DELETE
public static final SqlCommandType SELECT
public static SqlCommandType[] values()
for (SqlCommandType c : SqlCommandType.values()) System.out.println(c);
public static SqlCommandType 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 nullCopyright © 2010–2016 MyBatis.org. All rights reserved.