Enum SQLCreateTableStatement.Feature
- java.lang.Object
-
- java.lang.Enum<SQLCreateTableStatement.Feature>
-
- com.alibaba.druid.sql.ast.statement.SQLCreateTableStatement.Feature
-
- All Implemented Interfaces:
Serializable,Comparable<SQLCreateTableStatement.Feature>
- Enclosing class:
- SQLCreateTableStatement
public static enum SQLCreateTableStatement.Feature extends Enum<SQLCreateTableStatement.Feature>
-
-
Field Summary
Fields Modifier and Type Field Description intmask
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intconfig(int features, boolean state)booleanisEnabled(long features)static SQLCreateTableStatement.FeaturevalueOf(String name)Returns the enum constant of this type with the specified name.static SQLCreateTableStatement.Feature[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Temporary
public static final SQLCreateTableStatement.Feature Temporary
-
Global
public static final SQLCreateTableStatement.Feature Global
-
Local
public static final SQLCreateTableStatement.Feature Local
-
OrReplace
public static final SQLCreateTableStatement.Feature OrReplace
-
IfNotExists
public static final SQLCreateTableStatement.Feature IfNotExists
-
External
public static final SQLCreateTableStatement.Feature External
-
Transactional
public static final SQLCreateTableStatement.Feature Transactional
-
Shadow
public static final SQLCreateTableStatement.Feature Shadow
-
Dimension
public static final SQLCreateTableStatement.Feature Dimension
-
Set
public static final SQLCreateTableStatement.Feature Set
-
MultiSet
public static final SQLCreateTableStatement.Feature MultiSet
-
Volatile
public static final SQLCreateTableStatement.Feature Volatile
-
Unlogged
public static final SQLCreateTableStatement.Feature Unlogged
-
-
Method Detail
-
values
public static SQLCreateTableStatement.Feature[] 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 (SQLCreateTableStatement.Feature c : SQLCreateTableStatement.Feature.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SQLCreateTableStatement.Feature 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
-
isEnabled
public boolean isEnabled(long features)
-
config
public int config(int features, boolean state)
-
-