Top Interfaces Classes
[default module]

Package com.mysql.cj.protocol


Interface Summary

Modifier and TypeInterface and Description
public interface
AuthenticationPlugin<
Message type
M extends Message
>

Implementors of this interface can be installed via the "authenticationPlugins" configuration property.

public interface
public interface
ColumnDefinition

Represents protocol specific result set metadata, eg., for native protocol, Protocol::ColumnDefinition41 protocol entity.

public interface
Message

Message is the content of a full single message (native protocol packet or protobuf message), independent from on-wire splitting, communicated with the server.

public interface
MessageHeader

Represents the protocol specific message header

public interface
MessageListener<
Message type
M extends Message
>

Sink for messages that are read asynchonously from the socket.

public interface
MessageReader<H extends MessageHeader, M extends Message>

public interface
MessageSender<
Message type
M extends Message
>

This interface provides a facility for sending messages to server.

public interface
OutputStreamWatcher

Objects that want to be notified of lifecycle events on a WatchableOutputStream should implement this interface, and register themselves with setWatcher() on the WatchableOutputStream instance.

public interface
PacketReceivedTimeHolder

Holds the time the last packet was received.

public interface
PacketSentTimeHolder

Holds the time the last packet was sent.

public interface
Protocol<
Message type
M extends Message
>

A protocol provides the facilities to communicate with a MySQL server.

public interface
public interface
public interface
public interface
ResultBuilder<
result type
T
>

Classes implementing this interface are responsible for building result of specific type from incoming ProtocolEntity objects.

public interface
Resultset

Represents protocol specific result set, eg., for native protocol, a ProtocolText::Resultset or ProtocolBinary::Resultset entity.

public interface
ResultsetRow

Classes that implement this interface represent one row of data from the MySQL server that might be stored in different ways depending on whether the result set was streaming (so they wrap a reusable packet), or whether the result set was cached or via a server-side cursor (so they represent a byte[][]).

public interface
ResultsetRows

This interface abstracts away how row data is accessed by the result set.

public interface
public interface
ResultStreamer

A result streamer is a result object that is streaming results from the current connection.

public interface
ServerCapabilities

Represents server capabilities, retrieved right after creating physical connection and before handshake.

public interface
ServerSession

Keeps the effective states of server/session variables, contains methods for initial retrieving of these states and for their actualization.

public interface
public interface
SocketConnection

Represents physical connection with endpoint

public interface
SocketFactory

Interface to allow pluggable socket creation in the driver

public interface
public interface
ValueDecoder

A value decoder is responsible for interpreting a byte array as a value.

public interface
public interface
public interface
public interface
WriterWatcher

Objects that want to be notified of lifecycle events on a WatchableWriter should implement this interface, and register themselves with setWatcher() on the WatchableWriter instance.

Class Summary

Modifier and TypeClass and Description
public abstract class
public abstract class
public class
ExportControlled

Holds functionality that falls under export-control regulations.

public class
FullReadInputStream

InputStream wrapper that provides methods to aggregate reads of a given size.

public class
public class
public class
public class
NamedPipeSocketFactory

A socket factory for named pipes (on Windows)

public class
public class
ReadAheadInputStream

A non-blocking buffered input stream.

public class
Security

Methods for doing secure authentication with MySQL-4.1 and newer.

public class
SocksProxySocketFactory

A socket factory used to create sockets connecting through a SOCKS proxy.

public class
StandardSocketFactory

Socket factory for vanilla TCP/IP sockets (the standard)

public class
WatchableOutputStream

A java.io.OutputStream used to write ASCII data into Blobs and Clobs

public class
WatchableWriter

A java.io.Writer used to write unicode data into Blobs and Clobs