Defines a Row where the data is presumed to be encoded with the mysql binary protocol.
Defines a Row where the data is presumed to be encoded with the mysql binary protocol. http://dev.mysql.com/doc/internals/en/binary-protocol-resultset-row.html
A ClientDispatcher that implements the mysql client/server protocol.
A ClientDispatcher that implements the mysql client/server protocol. For a detailed exposition of the client/server protocol refer to: http://dev.mysql.com/doc/internals/en/client-server-protocol.html
Note, the mysql protocol does not support any form of multiplexing so requests are dispatched serially and concurrent requests are queued.
A CloseRequest deallocates a prepared statement on the server.
A CloseRequest deallocates a prepared statement on the server. No response is sent back to the client. http://dev.mysql.com/doc/internals/en/com-stmt-close.html
A command request is a request initiated by the client and has a cmd byte associated with it.
A decoder for Results contained in a single packet.
Uses the binary protocol to build an execute request for a prepared statement.
Uses the binary protocol to build an execute request for a prepared statement. http://dev.mysql.com/doc/internals/en/com-stmt-execute.html
Bridges a server handshake (HandshakeInit) with a client handshake (HandshakeResponse) using the given parameters.
Bridges a server handshake (HandshakeInit) with a client handshake (HandshakeResponse) using the given parameters. This facilitates the connection phase of the mysql protocol.
MySQL username used to login.
MySQL password used to login.
initial database to use for the session.
The capability this client has.
default character established with the server.
max size of a command packet that the client intends to send to the server. The largest possible packet that can be transmitted to or from a MySQL 5.5 server or client is 1GB.
A Try[HandshakeResponse] that encodes incompatibility with the server.
Client response sent during connection phase.
Client response sent during connection phase. Responsible for encoding credentials used to authenticate a session. http://dev.mysql.com/doc/internals/en/connection-phase-packets.html#packet-Protocol::HandshakeResponse41
A base class for exceptions related to client incompatibility with an upstream MySQL server.
A value of type A
can implicitly convert to a Parameter
if an evidence CanBeParameter[A]
is
available in scope.
A value of type A
can implicitly convert to a Parameter
if an evidence CanBeParameter[A]
is
available in scope. This type is not to be instantiated in any other manner.
Allocates a prepared statement on the server from the passed in query string.
Allocates a prepared statement on the server from the passed in query string. http://dev.mysql.com/doc/internals/en/com-stmt-prepare.html
A PreparedStatement represents a parameterized sql statement which may be applied concurrently with varying parameters.
A QueryRequest is used to send the server a text-based query that is executed immediately.
A QueryRequest is used to send the server a text-based query that is executed immediately. http://dev.mysql.com/doc/internals/en/com-query.html
A RawValue contains the raw bytes that represent a value and enough meta data to decode the bytes.
A RawValue contains the raw bytes that represent a value and enough meta data to decode the bytes.
The mysql type code for this value.
The charset encoding of the bytes.
Disambiguates between the text and binary protocol.
The raw bytes for this value.
A Row
makes it easy to extract Value's from a mysql row.
A catch-all exception class for errors returned from the upstream MySQL server.
Defines a request that encodes the command byte and associated data into a packet.
Defines a row where the data is presumed to be encoded with the mysql text-based protocol.
Defines a row where the data is presumed to be encoded with the mysql text-based protocol. http://dev.mysql.com/doc/internals/en/com-query-response.html#packet-ProtocolText::ResultsetRow
An injector/extractor of java.sql.Timestamp values.
A UseRequest is used to change the default schema of the connection.
A UseRequest is used to change the default schema of the connection. http://dev.mysql.com/doc/internals/en/com-init-db.html
Defines a Value ADT that represents the domain of values received from a mysql server.
Used internally to synthesize a response from the server when sending a prepared statement CloseRequest
Represents and EOF result received from the server which contains any warnings and the server status.
Represents and EOF result received from the server which contains any warnings and the server status. http://dev.mysql.com/doc/internals/en/generic-response-packets.html#packet-EOF_Packet
Represents the Error Packet received from the server and the data sent along with it.
Represents the Error Packet received from the server and the data sent along with it. http://dev.mysql.com/doc/internals/en/generic-response-packets.html#packet-ERR_Packet
Represents the column meta-data associated with a query.
Represents the column meta-data associated with a query. Sent during ResultSet transmission and as part of the meta-data associated with a Row. http://dev.mysql.com/doc/internals/en/com-query-response.html#packet-Protocol::ColumnDefinition41
First result received from the server as part of the connection phase.
First result received from the server as part of the connection phase. http://dev.mysql.com/doc/internals/en/connection-phase-packets.html
Indicates that the server to which the client is connected is configured to use a charset that the client is incompatible with.
Indicates that the server to which the client is connected is running a version of MySQL that the client is incompatible with.
Represents the OK Packet received from the server.
Represents the OK Packet received from the server. It is sent to indicate that a command has completed succesfully. http://dev.mysql.com/doc/internals/en/generic-response-packets.html#packet-OK_Packet
Note: There is a Java-friendly API for this object: com.twitter.finagle.mysql.Parameters.
A Java adaptation of the com.twitter.finagle.mysql.Parameter companion object.
A request to check if the server is alive.
A request to check if the server is alive. http://dev.mysql.com/doc/internals/en/com-ping.html
Meta data returned from the server in response to a prepared statement initialization request COM_STMT_PREPARE.
Meta data returned from the server in response to a prepared statement initialization request COM_STMT_PREPARE. http://dev.mysql.com/doc/internals/en/com-stmt-prepare-response.html#packet-COM_STMT_PREPARE_OK
Tells the server that the client wants to close the connection.
Tells the server that the client wants to close the connection. http://dev.mysql.com/doc/internals/en/com-quit.html
Resultset returned from the server containing field definitions and rows.
Resultset returned from the server containing field definitions and rows. The rows can be binary encoded (for prepared statements) or text encoded (for regular queries). http://dev.mysql.com/doc/internals/en/com-query-response.html#packet-ProtocolText::Resultset http://dev.mysql.com/doc/internals/en/binary-protocol-resultset.html
Extracts a value in UTC.
Extracts a value in UTC. To use a different time zone, create an instance of com.twitter.finagle.mysql.TimestampValue.
(Since version 6.20.2)