public enum CommandType extends Enum<CommandType>
| Enum Constant and Description |
|---|
BINLOG_DUMP
Requests a binary log network stream from the master starting a given position.
|
BINLOG_DUMP_GTID
Used to request the binary log network stream based on a GTID.
|
CHANGE_USER
Used to change user of the current connection and reset the connection state.
|
CONNECT
Internal server command.
|
CONNECT_OUT
Internal server command.
|
CREATE_DB
Used to create new schema.
|
DAEMON
Internal server command.
|
DEBUG
Triggers a dump on internal debug info to stdout of the mysql-server.
|
DELAYED_INSERT
Internal server command.
|
DROP_DB
Used to drop existing schema.
|
FIELD_LIST
Used to get column definitions of the specific table.
|
INIT_DB
Used to change the default schema of the connection.
|
PING
Used to check if the server is alive.
|
PROCESS_INFO
Used to get a list of active threads.
|
PROCESS_KILL
Used to ask the server to terminate the connection.
|
QUERY
Used to send the server a text-based query that is executed immediately.
|
QUIT
Used to inform the server that client wants to close the connection.
|
REFRESH
A low-level version of several FLUSH ...
|
REGISTER_SLAVE
Registers a slave at the master.
|
SET_OPTION
Allows to enable and disable
ClientCapabilities.MULTI_STATEMENTS
for the current connection. |
SHUTDOWN
Used to shutdown the mysql-server.
|
SLEEP
Internal server command.
|
STATISTICS
Used to get a human readable string of internal statistics.
|
STMT_CLOSE
Deallocates a prepared statement.
|
STMT_EXECUTE
Used to execute a prepared statement as identified by statement id.
|
STMT_FETCH
Fetch a row from a existing resultset after a
STMT_EXECUTE. |
STMT_PREPARE
Creates a prepared statement from the passed query string.
|
STMT_RESET
Resets the data of a prepared statement which was accumulated with
STMT_SEND_LONG_DATA commands. |
STMT_SEND_LONG_DATA
Used to send some data for a column.
|
TABLE_DUMP
Used to dump a specific table.
|
TIME
Internal server command.
|
| Modifier and Type | Method and Description |
|---|---|
static CommandType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandType SLEEP
public static final CommandType QUIT
public static final CommandType INIT_DB
public static final CommandType QUERY
public static final CommandType FIELD_LIST
public static final CommandType CREATE_DB
public static final CommandType DROP_DB
public static final CommandType REFRESH
public static final CommandType SHUTDOWN
public static final CommandType STATISTICS
public static final CommandType PROCESS_INFO
public static final CommandType CONNECT
public static final CommandType PROCESS_KILL
public static final CommandType DEBUG
public static final CommandType PING
public static final CommandType TIME
public static final CommandType DELAYED_INSERT
public static final CommandType CHANGE_USER
public static final CommandType BINLOG_DUMP
public static final CommandType TABLE_DUMP
public static final CommandType CONNECT_OUT
public static final CommandType REGISTER_SLAVE
BINLOG_DUMP.public static final CommandType STMT_PREPARE
public static final CommandType STMT_EXECUTE
public static final CommandType STMT_SEND_LONG_DATA
public static final CommandType STMT_CLOSE
public static final CommandType STMT_RESET
STMT_SEND_LONG_DATA commands.public static final CommandType SET_OPTION
ClientCapabilities.MULTI_STATEMENTS
for the current connection.public static final CommandType STMT_FETCH
STMT_EXECUTE.public static final CommandType DAEMON
public static final CommandType BINLOG_DUMP_GTID
public static CommandType[] values()
for (CommandType c : CommandType.values()) System.out.println(c);
public static CommandType 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 © 2019. All rights reserved.