Enum MySqlKillStatement.Type
- java.lang.Object
-
- java.lang.Enum<MySqlKillStatement.Type>
-
- com.alibaba.druid.sql.dialect.mysql.ast.statement.MySqlKillStatement.Type
-
- All Implemented Interfaces:
Serializable,Comparable<MySqlKillStatement.Type>
- Enclosing class:
- MySqlKillStatement
public static enum MySqlKillStatement.Type extends Enum<MySqlKillStatement.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONNECTIONQUERY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MySqlKillStatement.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static MySqlKillStatement.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONNECTION
public static final MySqlKillStatement.Type CONNECTION
-
QUERY
public static final MySqlKillStatement.Type QUERY
-
-
Method Detail
-
values
public static MySqlKillStatement.Type[] 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 (MySqlKillStatement.Type c : MySqlKillStatement.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MySqlKillStatement.Type 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
-
-