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 closable async stream of projected rows from a CursoredStatement.
A CursoredStatement represents a parameterized sql statement which when applied to parameters yields a lazy stream of rows.
A CursoredStatement represents a parameterized sql statement which when applied to parameters yields a lazy stream of rows. Can be used concurrently.
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.
if the server should return the number of found (matched) rows, not the number of changed rows for UPDATE and INSERT ... ON DUPLICATE KEY UPDATE statements.
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.
Represents the ServerStatus as represented in EOF packets
Represents the ServerStatus as represented in EOF packets
the raw bit mask in the EOF packet
Defines a request that encodes the command byte and associated data into a packet.
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
These bit masks are to understand whether corresponding attribute is set for the field.
These bit masks are to understand whether corresponding attribute is set for the field. Link to source code from mysql is below. https://github.com/mysql/mysql-server/blob/5.7/include/mysql_com.h
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.
MySQL Isolation Levels.
MySQL Isolation Levels. Used to override the SESSION or GLOBAL isolation level when executing transactions.
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
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)