com.alibaba.druid.sql.dialect.mysql.ast.statement
Enum MySqlShowProfileStatement.Type
java.lang.Object
java.lang.Enum<MySqlShowProfileStatement.Type>
com.alibaba.druid.sql.dialect.mysql.ast.statement.MySqlShowProfileStatement.Type
- All Implemented Interfaces:
- Serializable, Comparable<MySqlShowProfileStatement.Type>
- Enclosing class:
- MySqlShowProfileStatement
public static enum MySqlShowProfileStatement.Type
- extends Enum<MySqlShowProfileStatement.Type>
ALL
public static final MySqlShowProfileStatement.Type ALL
BLOCK_IO
public static final MySqlShowProfileStatement.Type BLOCK_IO
CONTEXT_SWITCHES
public static final MySqlShowProfileStatement.Type CONTEXT_SWITCHES
CPU
public static final MySqlShowProfileStatement.Type CPU
IPC
public static final MySqlShowProfileStatement.Type IPC
MEMORY
public static final MySqlShowProfileStatement.Type MEMORY
PAGE_FAULTS
public static final MySqlShowProfileStatement.Type PAGE_FAULTS
SOURCE
public static final MySqlShowProfileStatement.Type SOURCE
SWAPS
public static final MySqlShowProfileStatement.Type SWAPS
name
public final String name
values
public static MySqlShowProfileStatement.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 (MySqlShowProfileStatement.Type c : MySqlShowProfileStatement.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 MySqlShowProfileStatement.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 name
NullPointerException - if the argument is null
Copyright © 2012 Alibaba Group. All Rights Reserved.