public enum SQLStatementType extends Enum<SQLStatementType>
| Enum Constant and Description |
|---|
SQL_ALTER_TABLE
修改表。
|
SQL_CREATE_TABLE
建表。
|
SQL_DESCRIBE_TABLE
查询表格式。
|
SQL_DROP_TABLE
删除表。
|
SQL_SELECT
查询。
|
SQL_SHOW_TABLE
查询表列表。
|
| Modifier and Type | Method and Description |
|---|---|
static SQLStatementType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SQLStatementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SQLStatementType SQL_SELECT
public static final SQLStatementType SQL_CREATE_TABLE
public static final SQLStatementType SQL_SHOW_TABLE
public static final SQLStatementType SQL_DESCRIBE_TABLE
public static final SQLStatementType SQL_DROP_TABLE
public static final SQLStatementType SQL_ALTER_TABLE
public static SQLStatementType[] values()
for (SQLStatementType c : SQLStatementType.values()) System.out.println(c);
public static SQLStatementType 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 © 2024. All Rights Reserved.