Enum SQLObjectType
- java.lang.Object
-
- java.lang.Enum<SQLObjectType>
-
- com.alibaba.druid.sql.ast.statement.SQLObjectType
-
- All Implemented Interfaces:
Serializable,Comparable<SQLObjectType>
public enum SQLObjectType extends Enum<SQLObjectType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SQLObjectTypevalueOf(String name)Returns the enum constant of this type with the specified name.static SQLObjectType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TABLE
public static final SQLObjectType TABLE
-
FUNCTION
public static final SQLObjectType FUNCTION
-
PROCEDURE
public static final SQLObjectType PROCEDURE
-
USER
public static final SQLObjectType USER
-
DATABASE
public static final SQLObjectType DATABASE
-
SCHEMA
public static final SQLObjectType SCHEMA
-
ROLE
public static final SQLObjectType ROLE
-
PROJECT
public static final SQLObjectType PROJECT
-
PACKAGE
public static final SQLObjectType PACKAGE
-
RESOURCE
public static final SQLObjectType RESOURCE
-
INSTANCE
public static final SQLObjectType INSTANCE
-
JOB
public static final SQLObjectType JOB
-
VOLUME
public static final SQLObjectType VOLUME
-
OfflineModel
public static final SQLObjectType OfflineModel
-
SYSTEM
public static final SQLObjectType SYSTEM
-
GLOBAL
public static final SQLObjectType GLOBAL
-
XFLOW
public static final SQLObjectType XFLOW
-
-
Method Detail
-
values
public static SQLObjectType[] 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 (SQLObjectType c : SQLObjectType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SQLObjectType 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
-
-