Package com.alibaba.druid.sql.ast
Enum AutoIncrementType
- java.lang.Object
-
- java.lang.Enum<AutoIncrementType>
-
- com.alibaba.druid.sql.ast.AutoIncrementType
-
- All Implemented Interfaces:
Serializable,Comparable<AutoIncrementType>
public enum AutoIncrementType extends Enum<AutoIncrementType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GROUPSIMPLESIMPLE_CACHETIME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetKeyword()static AutoIncrementTypevalueOf(String name)Returns the enum constant of this type with the specified name.static AutoIncrementType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GROUP
public static final AutoIncrementType GROUP
-
SIMPLE
public static final AutoIncrementType SIMPLE
-
SIMPLE_CACHE
public static final AutoIncrementType SIMPLE_CACHE
-
TIME
public static final AutoIncrementType TIME
-
-
Method Detail
-
values
public static AutoIncrementType[] 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 (AutoIncrementType c : AutoIncrementType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AutoIncrementType 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
-
getKeyword
public String getKeyword()
-
-