public enum SQLCommand extends java.lang.Enum<SQLCommand>
| Enum Constant | Description |
|---|---|
CONNECTION |
|
CREATETABLE |
|
DELETE |
|
DROPTABLE |
|
INSERT |
|
SELECT |
|
UPDATE |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getExecutePriority() |
|
java.lang.String |
getValue() |
|
static SQLCommand |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static SQLCommand[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SQLCommand UPDATE
public static final SQLCommand INSERT
public static final SQLCommand DELETE
public static final SQLCommand CREATETABLE
public static final SQLCommand DROPTABLE
public static final SQLCommand CONNECTION
public static final SQLCommand SELECT
public static SQLCommand[] values()
for (SQLCommand c : SQLCommand.values()) System.out.println(c);
public static SQLCommand valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getValue()
public int getExecutePriority()