Enum SQLDDLStatement.DDLObjectType
- java.lang.Object
-
- java.lang.Enum<SQLDDLStatement.DDLObjectType>
-
- com.alibaba.druid.sql.ast.statement.SQLDDLStatement.DDLObjectType
-
- All Implemented Interfaces:
Serializable,Comparable<SQLDDLStatement.DDLObjectType>
- Enclosing interface:
- SQLDDLStatement
public static enum SQLDDLStatement.DDLObjectType extends Enum<SQLDDLStatement.DDLObjectType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATABASEFUNCTIONINDEXMATERIALIZED_VIEWOTHERPROCEDUREROLESEQUENCETABLETABLE_GROUPTABLE_SPACETRIGGERTYPEUSERVIEW
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SQLDDLStatement.DDLObjectTypevalueOf(String name)Returns the enum constant of this type with the specified name.static SQLDDLStatement.DDLObjectType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DATABASE
public static final SQLDDLStatement.DDLObjectType DATABASE
-
TABLE
public static final SQLDDLStatement.DDLObjectType TABLE
-
VIEW
public static final SQLDDLStatement.DDLObjectType VIEW
-
MATERIALIZED_VIEW
public static final SQLDDLStatement.DDLObjectType MATERIALIZED_VIEW
-
TABLE_SPACE
public static final SQLDDLStatement.DDLObjectType TABLE_SPACE
-
TABLE_GROUP
public static final SQLDDLStatement.DDLObjectType TABLE_GROUP
-
FUNCTION
public static final SQLDDLStatement.DDLObjectType FUNCTION
-
TRIGGER
public static final SQLDDLStatement.DDLObjectType TRIGGER
-
USER
public static final SQLDDLStatement.DDLObjectType USER
-
ROLE
public static final SQLDDLStatement.DDLObjectType ROLE
-
SEQUENCE
public static final SQLDDLStatement.DDLObjectType SEQUENCE
-
INDEX
public static final SQLDDLStatement.DDLObjectType INDEX
-
PROCEDURE
public static final SQLDDLStatement.DDLObjectType PROCEDURE
-
TYPE
public static final SQLDDLStatement.DDLObjectType TYPE
-
OTHER
public static final SQLDDLStatement.DDLObjectType OTHER
-
-
Method Detail
-
values
public static SQLDDLStatement.DDLObjectType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SQLDDLStatement.DDLObjectType c : SQLDDLStatement.DDLObjectType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SQLDDLStatement.DDLObjectType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-