public enum SQLType extends Enum<SQLType>
| Enum Constant and Description |
|---|
ADD_USER |
ALTER |
ALTER_USER |
ANALYZE |
COMMIT |
CREATE |
CREATE_USER |
DELETE |
DESC |
DROP |
DROP_USER |
DUMP_DATA |
EXPLAIN |
GRANT |
INSERT |
KILL |
LIST |
MERGE |
MSCK |
REMOVE_USER |
REPLACE |
REVOKE |
ROLLBACK |
SELECT |
SET |
SHOW |
TRUNCATE |
UNKNOWN |
UPDATE |
USE |
WHO |
| Modifier and Type | Method and Description |
|---|---|
static SQLType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SQLType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SQLType SELECT
public static final SQLType UPDATE
public static final SQLType INSERT
public static final SQLType DELETE
public static final SQLType MERGE
public static final SQLType CREATE
public static final SQLType ALTER
public static final SQLType DROP
public static final SQLType TRUNCATE
public static final SQLType REPLACE
public static final SQLType ANALYZE
public static final SQLType EXPLAIN
public static final SQLType SHOW
public static final SQLType DESC
public static final SQLType SET
public static final SQLType DUMP_DATA
public static final SQLType LIST
public static final SQLType WHO
public static final SQLType GRANT
public static final SQLType REVOKE
public static final SQLType COMMIT
public static final SQLType ROLLBACK
public static final SQLType USE
public static final SQLType KILL
public static final SQLType MSCK
public static final SQLType ADD_USER
public static final SQLType REMOVE_USER
public static final SQLType CREATE_USER
public static final SQLType DROP_USER
public static final SQLType ALTER_USER
public static final SQLType UNKNOWN
public static SQLType[] values()
for (SQLType c : SQLType.values()) System.out.println(c);
public static SQLType 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 © 2013–2021 Alibaba Group. All rights reserved.