public static enum MySqlShowProfileStatement.Type extends Enum<MySqlShowProfileStatement.Type>
Enum Constant and Description |
---|
ALL |
BLOCK_IO |
CONTEXT_SWITCHES |
CPU |
IPC |
MEMORY |
PAGE_FAULTS |
SOURCE |
SWAPS |
Modifier and Type | Method and Description |
---|---|
static MySqlShowProfileStatement.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MySqlShowProfileStatement.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MySqlShowProfileStatement.Type ALL
public static final MySqlShowProfileStatement.Type BLOCK_IO
public static final MySqlShowProfileStatement.Type CONTEXT_SWITCHES
public static final MySqlShowProfileStatement.Type CPU
public static final MySqlShowProfileStatement.Type IPC
public static final MySqlShowProfileStatement.Type MEMORY
public static final MySqlShowProfileStatement.Type PAGE_FAULTS
public static final MySqlShowProfileStatement.Type SOURCE
public static final MySqlShowProfileStatement.Type SWAPS
public final String name
public static MySqlShowProfileStatement.Type[] values()
for (MySqlShowProfileStatement.Type c : MySqlShowProfileStatement.Type.values()) System.out.println(c);
public static MySqlShowProfileStatement.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2013–2017 Alibaba Group. All rights reserved.