public enum TelemetryAttribute extends Enum<TelemetryAttribute>
| Enum Constant and Description |
|---|
DB_CONNECTION_STRING |
DB_NAME |
DB_OPERATION |
DB_STATEMENT |
DB_SYSTEM |
DB_USER |
NETWORK_PEER_ADDRESS |
NETWORK_PEER_PORT |
NETWORK_TRANSPORT |
SERVER_ADDRESS |
SERVER_PORT |
THREAD_ID |
THREAD_NAME |
| Modifier and Type | Field and Description |
|---|---|
static String |
DB_SYSTEM_DEFAULT |
private String |
key |
static String |
NETWORK_TRANSPORT_PIPE |
static String |
NETWORK_TRANSPORT_TCP |
static String |
NETWORK_TRANSPORT_UNIX |
static String |
OPERATION_BATCH |
static String |
OPERATION_COMMIT |
static String |
OPERATION_CREATE |
static String |
OPERATION_EXPLAIN |
static String |
OPERATION_INIT_DB |
static String |
OPERATION_KILL |
static String |
OPERATION_PING |
static String |
OPERATION_ROLLBACK |
static String |
OPERATION_SELECT |
static String |
OPERATION_SET |
static String |
OPERATION_SHOW |
static String |
OPERATION_SHUTDOWN |
static String |
OPERATION_USE |
static String |
STATEMENT_SUFFIX |
| Modifier and Type | Method and Description |
|---|---|
String |
getKey() |
static TelemetryAttribute |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TelemetryAttribute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TelemetryAttribute DB_NAME
public static final TelemetryAttribute DB_OPERATION
public static final TelemetryAttribute DB_STATEMENT
public static final TelemetryAttribute DB_CONNECTION_STRING
public static final TelemetryAttribute DB_SYSTEM
public static final TelemetryAttribute DB_USER
public static final TelemetryAttribute NETWORK_PEER_ADDRESS
public static final TelemetryAttribute NETWORK_PEER_PORT
public static final TelemetryAttribute NETWORK_TRANSPORT
public static final TelemetryAttribute SERVER_ADDRESS
public static final TelemetryAttribute SERVER_PORT
public static final TelemetryAttribute THREAD_ID
public static final TelemetryAttribute THREAD_NAME
private String key
public static final String DB_SYSTEM_DEFAULT
public static final String NETWORK_TRANSPORT_TCP
public static final String NETWORK_TRANSPORT_UNIX
public static final String NETWORK_TRANSPORT_PIPE
public static final String STATEMENT_SUFFIX
public static final String OPERATION_BATCH
public static final String OPERATION_COMMIT
public static final String OPERATION_CREATE
public static final String OPERATION_EXPLAIN
public static final String OPERATION_INIT_DB
public static final String OPERATION_KILL
public static final String OPERATION_PING
public static final String OPERATION_ROLLBACK
public static final String OPERATION_SELECT
public static final String OPERATION_SET
public static final String OPERATION_SHOW
public static final String OPERATION_SHUTDOWN
public static final String OPERATION_USE
public static TelemetryAttribute[] values()
for (TelemetryAttribute c : TelemetryAttribute.values()) System.out.println(c);
public static TelemetryAttribute 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 nullpublic String getKey()