所有类 接口概要 类概要 枚举概要 异常错误概要
| 类 |
说明 |
| AbandonedConnectionCleanupThread |
This class implements a thread that is responsible for closing abandoned MySQL connections, i.e., connections that are not explicitly closed.
|
| AbstractBufferRow |
A ResultSetRow implementation that holds one row packet (which is re-used by the driver, and thus saves memory allocations), and tries when possible to avoid
allocations to break out the results as individual byte[]s.
|
| AbstractDateTimeValueFactory<T> |
|
| AbstractNumericValueFactory<T> |
|
| AbstractPreparedQuery<T extends QueryBindings<?>> |
|
| AbstractPropertyDefinition<T> |
|
| AbstractProtocol<M extends Message> |
|
| AbstractQuery |
|
| AbstractQueryBindings<T extends BindValue> |
|
| AbstractResultsetRow |
|
| AbstractResultsetRows |
|
| AbstractRowFactory |
|
| AbstractRuntimeProperty<T> |
|
| AbstractSocketConnection |
|
| AppendingBatchVisitor |
|
| AssertionFailedException |
Assertions for empty code paths that should never be executed.
|
| AuthenticationPlugin<M extends Message> |
Implementors of this interface can be installed via the "authenticationPlugins" configuration property.
|
| AuthenticationProvider<M extends Message> |
|
| BalanceStrategy |
Implement this interface to provide a new load balancing strategy for URLs of the form "jdbc:mysql:loadbalance://
|
| Base64Decoder |
This decoder implements standard Base64 decoding except it allows and silently ignores non-base64 input characters (spaces, line breaks etc)
Note: Java 6+ provide standard decoders
|
| Base64Decoder.IntWrapper |
|
| BaseMetricsHolder |
|
| BatchVisitor |
|
| BestResponseTimeBalanceStrategy |
|
| BigDecimalValueFactory |
|
| BinaryBufferRow |
A BufferRow implementation that holds one row packet from a server-side prepared statement (which is re-used by the driver,
and thus saves memory allocations), and tries when possible to avoid allocations to break out the results as individual byte[]s.
|
| BinaryResultsetReader |
|
| BinaryRowFactory |
Handle binary-encoded data for server-side PreparedStatements
|
| BinaryStreamValueFactory |
A value factory for a raw stream of bytes from the value.
|
| BindValue |
|
| Blob |
The representation (mapping) in the JavaTM programming language of an SQL BLOB value.
|
| BlobFromLocator |
The representation (mapping) in the JavaTM programming language of an SQL BLOB value.
|
| BooleanProperty |
|
| BooleanPropertyDefinition |
|
| BooleanPropertyDefinition.AllowableValues |
|
| BooleanValueFactory |
A value factory for creating Boolean values.
|
| ByteArrayRow |
A RowHolder implementation that is for cached results (a-la mysql_store_result()).
|
| ByteValueFactory |
A value factory for creating byte values.
|
| CacheAdapter<K,V> |
|
| CacheAdapterFactory<K,V> |
|
| CachedResultSetMetaData |
|
| CachedResultSetMetaDataImpl |
|
| CachingSha2PasswordPlugin |
|
| CachingSha2PasswordPlugin.AuthStage |
|
| CallableStatement |
Representation of stored procedures for JDBC
|
| CallableStatement.CallableStatementParam |
|
| CancelQueryTask |
|
| CancelQueryTaskImpl |
Thread used to implement query timeouts...Eventually we could be more
efficient and have one thread with timers, but this is a straightforward
and simple way to implement a feature that isn't used all that often.
|
| CharsetMapping |
Mapping between MySQL charset names and Java charset names.
|
| CJCommunicationsException |
|
| CJConnectionFeatureNotAvailableException |
|
| CJException |
The base unchecked exception thrown internally in connector.
|
| CJOperationNotSupportedException |
|
| CJPacketTooBigException |
Thrown when a packet that is too big for the server is created.
|
| CJTimeoutException |
|
| ClientInfoProvider |
Classes that implement this interface and provide a no-args constructor can be used by the driver to store and retrieve client information and/or labels.
|
| ClientPreparedQuery |
|
| ClientPreparedQueryBindings |
|
| ClientPreparedQueryBindValue |
|
| ClientPreparedStatement |
A SQL Statement is pre-compiled and stored in a PreparedStatement object.
|
| Clob |
Simplistic implementation of java.sql.Clob for MySQL Connector/J
|
| ClosedOnExpiredPasswordException |
Equivalent to SQLSTATE ER_MUST_CHANGE_PASSWORD_LOGIN = 1862
"Your password has expired.
|
| ColumnDefinition |
Represents protocol specific result set metadata,
eg., for native protocol, Protocol::ColumnDefinition41 protocol entity.
|
| ColumnDefinitionFactory |
|
| ColumnDefinitionReader |
|
| CommunicationsException |
An exception to represent communications errors with the database.
|
| CompressedInputStream |
Used to de-compress packets from the MySQL server when protocol-level compression is turned on.
|
| CompressedPacketSender |
|
| ConnectionFeatureNotAvailableException |
Thrown when a client requests a connection-level feature that isn't available for this particular distribution of Connector/J (currently only used by code
that is export-controlled).
|
| ConnectionGroup |
|
| ConnectionGroupManager |
|
| ConnectionImpl |
A Connection represents a session with a specific database.
|
| ConnectionIsClosedException |
Operation attempted on already closed Connection
|
| ConnectionLifecycleInterceptor |
Implementors of this interface can be installed via the "connectionLifecycleInterceptors" configuration property and receive events and alter behavior of
"lifecycle" methods on our connection implementation.
|
| ConnectionPropertiesTransform |
Implement this interface, and pass the class name as the 'propertiesTransform' property in your URL, and the driver will pass the properties it has
parsed to your transform implementation so that you can modify/substitute/add any that you desire.
|
| ConnectionUrl |
A container for a database URL and a collection of given connection arguments.
|
| ConnectionUrl.HostsCardinality |
The rules describing the number of hosts a database URL may contain.
|
| ConnectionUrl.Type |
The database URL type which is determined by the scheme section of the connection string.
|
| ConnectionUrlParser |
This class parses a connection string using the general URI structure defined in RFC 3986.
|
| ConnectionUrlParser.Pair<T,U> |
This class is a simple container for two elements.
|
| Constants |
Represents various constants used in the driver.
|
| CoreSession |
|
| DatabaseMetaData |
JDBC Interface to Mysql functions
|
| DatabaseMetaData.ProcedureType |
Enumeration for Procedure Types
|
| DatabaseMetaData.TableType |
Enumeration for Table Types
|
| DatabaseMetaDataUsingInfoSchema |
DatabaseMetaData implementation that uses INFORMATION_SCHEMA
|
| DatabaseMetaDataUsingInfoSchema.FunctionConstant |
|
| DatabaseUrlContainer |
Implementors of this class must be able to provide a database URL.
|
| DataConversionException |
Indicates that data could not be converted according to the given request.
|
| DataReadException |
Indicates that data could not be read according to the given request.
|
| DataStoreMetadata |
|
| DataStoreMetadataImpl |
|
| DataTruncationException |
|
| DataTypeUtil |
Utilities to manipulate internal data type formats.
|
| DeadlockTimeoutRollbackMarker |
Marker interface for exceptions that are caused by deadlock/wait timeout
|
| DebugBufferingPacketReader |
A decorating MessageReader which put debugging info to a ring-buffer.
|
| DebugBufferingPacketSender |
|
| DefaultColumnDefinition |
Protocol::ColumnDefinition41 object
|
| DefaultPropertySet |
|
| DefaultValueFactory<T> |
The default value factory provides a base class that can be used for value factories that do not support creation from every type.
|
| DnsSrv |
|
| DnsSrv.SrvRecord |
|
| DoubleValueFactory |
A value factory for creating double values.
|
| Driver |
The Java SQL framework allows for multiple database drivers.
|
| EnumProperty<T extends Enum<T>> |
|
| EnumPropertyDefinition<T extends Enum<T>> |
|
| EscapeTokenizer |
EscapeTokenizer breaks up an SQL statement into SQL and escape code parts.
|
| ExceptionFactory |
|
| ExceptionInterceptor |
|
| ExceptionInterceptorChain |
|
| ExportControlled |
Holds functionality that falls under export-control regulations.
|
| ExportControlled.X509TrustManagerWrapper |
Implementation of X509TrustManager wrapping JVM X509TrustManagers to add expiration and identity check
|
| ExprUnparser |
Serializer utility for dealing with X Protocol expression trees.
|
| FailoverConnectionProxy |
A proxy for a dynamic com.mysql.cj.jdbc.JdbcConnection implementation that provides failover features for list of hosts.
|
| FeatureNotAvailableException |
|
| Field |
Field is a class used to describe fields in a ResultSet
|
| FloatValueFactory |
A value factory for creating float values.
|
| FullReadInputStream |
InputStream wrapper that provides methods to aggregate reads of a given size. c.f. readFully(byte[],int,int).
|
| HostInfo |
This class holds the following MySQL host information:
host: an IP or host name.
|
| HostsListView |
An enumeration that identifies the type of the view intended for getting hosts lists for multi-host connections.
|
| IntegerProperty |
|
| IntegerPropertyDefinition |
|
| IntegerValueFactory |
A value factory for creating int values.
|
| InternalDate |
|
| InternalTime |
|
| InternalTimestamp |
|
| InvalidConnectionAttributeException |
|
| IterateBlock<T> |
|
| JdbcConnection |
This interface contains methods that are considered the "vendor extension" to the JDBC API for MySQL's implementation of java.sql.Connection.
|
| JdbcPreparedStatement |
|
| JdbcPropertySet |
|
| JdbcPropertySetImpl |
|
| JdbcStatement |
This interface contains methods that are considered the "vendor extension" to the JDBC API for MySQL's implementation of java.sql.Statement.
|
| LazyString |
A lazy string that can take a byte buffer and encoding and interpret it as a string if/when requested.
|
| LicenseConfiguration |
Used in commercially-licensed clients that require connections to commercially-licensed servers as part of the licensing terms.
|
| LoadBalanceConnectionGroupManager |
|
| LoadBalanceConnectionGroupManagerMBean |
|
| LoadBalanceConnectionUrl |
|
| LoadBalancedAutoCommitInterceptor |
|
| LoadBalancedConnection |
|
| LoadBalancedConnectionProxy |
A proxy for a dynamic com.mysql.cj.jdbc.JdbcConnection implementation that load balances requests across a series of MySQL JDBC connections, where the
balancing
takes place at transaction commit.
|
| LoadBalancedMySQLConnection |
|
| LoadBalanceExceptionChecker |
|
| LocalDateTimeValueFactory |
|
| LocalDateValueFactory |
A value factory for creating LocalDate values.
|
| LocalTimeValueFactory |
A value factory to create LocalTime instances.
|
| Log |
Unified interface to logging facilities on different platforms
|
| LogFactory |
Creates instances of loggers for the driver to use.
|
| LogUtils |
|
| LongProperty |
|
| LongPropertyDefinition |
|
| LongValueFactory |
A value factory for creating long values.
|
| LRUCache<K,V> |
|
| MemorySizeProperty |
|
| MemorySizePropertyDefinition |
|
| MergingColumnDefinitionFactory |
|
| 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.
|
| MessageBuilder<M extends Message> |
|
| MessageHeader |
Represents the protocol specific message header
|
| MessageListener<M extends Message> |
Sink for messages that are read asynchonously from the socket.
|
| MessageReader<H extends MessageHeader,M extends Message> |
|
| Messages |
Support for localized messages.
|
| MessageSender<M extends Message> |
This interface provides a facility for sending messages to server.
|
| MultiHostConnectionProxy |
An abstract class that processes generic multi-host configurations.
|
| MultiHostMySQLConnection |
Each instance of MultiHostMySQLConnection is coupled with a MultiHostConnectionProxy instance.
|
| MultiPacketReader |
A MessageReader which reads a full packet
built from sequence of it's on-wire parts.
|
| MysqlBinaryValueDecoder |
A ValueDecoder for the MySQL binary (prepared statement) protocol.
|
| MysqlClearPasswordPlugin |
MySQL Clear Password Authentication Plugin
|
| MysqlConnection |
|
| MysqlDataTruncation |
MySQL wrapper for DataTruncation until the server can support sending all needed information.
|
| MysqlErrorNumbers |
Constants representing MySQL error numbers returned by the server in error messages.
|
| MysqlNativePasswordPlugin |
MySQL Native Password Authentication Plugin
|
| MysqlOldPasswordPlugin |
MySQL Native Old-Password Authentication Plugin
|
| MysqlParameterMetadata |
|
| MySQLQueryInterruptedException |
|
| MysqlSavepoint |
Represents SQL SAVEPOINTS in MySQL.
|
| MysqlSQLXML |
|
| MySQLStatementCancelledException |
|
| MysqlTextValueDecoder |
|
| MySQLTimeoutException |
|
| MySQLTransactionRollbackException |
|
| MysqlType |
|
| NativeAuthenticationProvider |
|
| NativeCapabilities |
|
| NativeConstants |
Constants specific to legacy MySQL protocol
|
| NativeConstants.IntegerDataType |
Basic protocol data types as they are defined in http://dev.mysql.com/doc/internals/en/integer.html
|
| NativeConstants.StringLengthDataType |
Basic protocol data types as they are defined in http://dev.mysql.com/doc/internals/en/string.html
which require explicit length specification.
|
| NativeConstants.StringSelfDataType |
Basic self-describing protocol data types as they are defined in http://dev.mysql.com/doc/internals/en/string.html
|
| NativeMessageBuilder |
|
| NativePacketHeader |
Represents the legacy protocol packet header, consisting of
3-bytes payload_length and 1-byte sequence_id.
|
| NativePacketPayload |
PacketPayload is the content of a full single packet (independent from
on-wire splitting) communicated with the server.
|
| NativeProtocol |
|
| NativeResultset |
|
| NativeServerSession |
|
| NativeSession |
|
| NativeSocketConnection |
|
| NativeUtils |
Utilities to manipulate MySQL protocol-specific formats.
|
| NClob |
Simplistic implementation of java.sql.NClob for MySQL Connector/J
|
| NetworkResources |
|
| NonRegisteringDriver |
The Java SQL framework allows for multiple database drivers.
|
| NoSubInterceptorWrapper |
Wraps query interceptors during driver startup so that they don't produce different result sets than we expect.
|
| NotUpdatable |
Thrown when a result sate is not updatable.
|
| NullLogger |
A logger that does nothing.
|
| NumberOutOfRange |
Indicates that a number was out of the expected range.
|
| OkPacket |
|
| OperationCancelledException |
|
| OperationNotSupportedException |
|
| 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.
|
| PacketReceivedTimeHolder |
Holds the time the last packet was received.
|
| PacketSentTimeHolder |
Holds the time the last packet was sent.
|
| PacketSplitter |
Keep track of splitting a large packet into multi-packets segments.
|
| PacketTooBigException |
Thrown when a packet that is too big for the server is created.
|
| ParameterBindings |
Interface to allow PreparedStatement implementations to expose their parameter bindings to QueryInterceptors.
|
| ParameterBindingsImpl |
|
| ParseInfo |
Represents the "parsed" state of a prepared query, with the statement broken up into its static and dynamic (where parameters are bound) parts.
|
| PasswordExpiredException |
Equivalent to SQLSTATE ER_MUST_CHANGE_PASSWORD = 1820
"You must SET PASSWORD before executing this statement"
Server entered to sandbox morde when this failure happens.
|
| PerConnectionLRUFactory |
|
| PerVmServerConfigCacheFactory |
|
| PingTarget |
|
| PreparedQuery<T extends QueryBindings<?>> |
|
| ProfilerEvent |
|
| ProfilerEventHandler |
|
| PropertyDefinition<T> |
|
| PropertyDefinitions |
|
| PropertyDefinitions.AuthMech |
|
| PropertyDefinitions.DatabaseTerm |
|
| PropertyDefinitions.SslMode |
|
| PropertyDefinitions.XdevapiSslMode |
|
| PropertyDefinitions.ZeroDatetimeBehavior |
|
| PropertyKey |
PropertyKey handles connection property names, their camel-case aliases and case sensitivity.
|
| PropertyNotModifiableException |
|
| PropertySet |
|
| Protocol<M extends Message> |
A protocol provides the facilities to communicate with a MySQL server.
|
| ProtocolEntity |
|
| ProtocolEntityFactory<T,M extends Message> |
|
| ProtocolEntityReader<T extends ProtocolEntity,M extends Message> |
|
| Query |
|
| Query.CancelStatus |
|
| QueryBindings<T extends BindValue> |
|
| QueryInterceptor |
Implement this interface to be placed "in between" query execution, so that you can influence it.
|
| QueryResult |
|
| RandomBalanceStrategy |
|
| ReadAheadInputStream |
A non-blocking buffered input stream.
|
| ReplicationConnection |
|
| ReplicationConnectionGroup |
Group of connection objects which can be configured as a group.
|
| ReplicationConnectionGroupManager |
|
| ReplicationConnectionProxy |
Connection that opens two connections, one two a replication master, and another to one or more slaves, and decides to use master when the connection is not
read-only, and use slave(s) when the connection is read-only.
|
| ReplicationConnectionUrl |
|
| ReplicationGroupManager |
|
| ReplicationGroupManagerMBean |
|
| ReplicationMySQLConnection |
|
| ResultBuilder<T> |
Classes implementing this interface are responsible for building result of specific type from incoming ProtocolEntity objects.
|
| Resultset |
Represents protocol specific result set,
eg., for native protocol, a ProtocolText::Resultset or ProtocolBinary::Resultset entity.
|
| Resultset.Concurrency |
|
| Resultset.Type |
|
| ResultsetFactory |
|
| ResultSetFactory |
|
| ResultSetImpl |
|
| ResultSetInternalMethods |
This interface is intended to be used by implementors of statement interceptors so that implementors can create static or dynamic (via
java.lang.reflect.Proxy) proxy instances of ResultSets.
|
| ResultSetMetaData |
A ResultSetMetaData object can be used to find out about the types and properties of the columns in a ResultSet
|
| 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[][]).
|
| ResultsetRowReader |
|
| ResultsetRows |
This interface abstracts away how row data is accessed by the result set.
|
| ResultsetRowsCursor |
Model for result set data backed by a cursor (see http://dev.mysql.com/doc/refman/5.7/en/cursors.html and
SERVER_STATUS_CURSOR_EXISTS flag description on http://dev.mysql.com/doc/internals/en/status-flags.html).
|
| ResultsetRowsOwner |
|
| ResultsetRowsStatic |
Represents an in-memory result set
|
| ResultsetRowsStreaming<T extends ProtocolEntity> |
Provides streaming of Resultset rows.
|
| Row |
|
| RowList |
|
| RSAException |
|
| RuntimeProperty<T> |
|
| RuntimeProperty.RuntimePropertyListener |
|
| Security |
Methods for doing secure authentication with MySQL-4.1 and newer.
|
| SerializingBufferWriter |
|
| ServerAffinityStrategy |
|
| ServerCapabilities |
Represents server capabilities, retrieved right after creating physical connection and before handshake.
|
| ServerPreparedQuery |
|
| ServerPreparedQueryBindings |
|
| ServerPreparedQueryBindValue |
|
| ServerPreparedQueryTestcaseGenerator |
|
| ServerPreparedStatement |
JDBC Interface for MySQL-4.1 and newer server-side PreparedStatements.
|
| ServerSession |
Keeps the effective states of server/session variables,
contains methods for initial retrieving of these states and for their actualization.
|
| ServerVersion |
A server version.
|
| Session |
Session exposes logical level which user API uses internally to call Protocol methods.
|
| Session.SessionEventListener |
|
| Sha256PasswordPlugin |
|
| ShortValueFactory |
A value factory for creating short values.
|
| SimplePacketReader |
Simple implementation of MessageReader which handles the receiving of logical MySQL packets from the provided socket input stream.
|
| SimplePacketSender |
Simple implementation of MessageSender which handles the transmission of logical MySQL packets to the provided output stream.
|
| SimpleQuery |
|
| SingleConnectionUrl |
|
| SocketConnection |
Represents physical connection with endpoint
|
| SocketFactory |
Interface to allow pluggable socket creation in the driver
|
| SocketFactory |
已过时。
|
| SocketFactoryWrapper |
Wraps the legacy com.mysql.jdbc.SocketFactory implementations so they can be used as SocketFactory
|
| SocketMetadata |
|
| SocksProxySocketFactory |
A socket factory used to create sockets connecting through a SOCKS proxy.
|
| SqlDateValueFactory |
A value factory for creating Date values.
|
| SQLError |
SQLError is a utility class that maps MySQL error codes to SQL error codes as is required by the JDBC spec.
|
| SQLExceptionsMapping |
|
| SqlTimestampValueFactory |
|
| SqlTimeValueFactory |
A value factory to create Time instances.
|
| SSLParamsException |
|
| StandardLoadBalanceExceptionChecker |
|
| StandardLogger |
Provides logging facilities for those platforms that don't have built-in facilities.
|
| StandardSocketFactory |
Socket factory for vanilla TCP/IP sockets (the standard)
|
| StatementImpl |
A Statement object is used for executing a static SQL statement and obtaining
the results produced by it.
|
| StatementIsClosedException |
Operation attempted on already closed Statement
|
| StreamingNotifiable |
|
| StringProperty |
|
| StringPropertyDefinition |
|
| StringUtils |
Various utility methods for converting to/from byte arrays in the platform encoding
|
| StringUtils.SearchMode |
|
| StringValueFactory |
|
| TestUtils |
|
| TextBufferRow |
A ResultSetRow implementation that holds one row packet (which is re-used by the driver, and thus saves memory allocations), and tries when possible to avoid
allocations to break out the results as individual byte[]s.
|
| TextResultsetReader |
|
| TextRowFactory |
|
| TimeTrackingPacketReader |
A MessageReader which tracks the last time a packet was received.
|
| TimeTrackingPacketSender |
|
| TimeUtil |
Timezone conversion routines and other time related methods
|
| TlsAsynchronousSocketChannel |
FilterInputStream-esque byte channel that decrypts incoming packets.
|
| TracingPacketReader |
A decorating MessageReader which traces all received packets to the provided logger.
|
| TracingPacketSender |
A decorating MessageSender which traces all sent packets to the provided logger.
|
| TransactionEventHandler |
|
| UnableToConnectException |
|
| UnsupportedConnectionStringException |
|
| UpdatableResultSet |
A result set that is updatable.
|
| Util |
Various utility methods for the driver.
|
| ValueDecoder |
A value decoder is responsible for interpreting a byte array as a value.
|
| ValueFactory<T> |
A class implements the ValueFactory<T> interface to create value instances from intermediate forms.
|
| WarningListener |
A warning listener is notified of warnings as they happen throughout the driver.
|
| WatchableOutputStream |
A java.io.OutputStream used to write ASCII data into Blobs and Clobs
|
| WatchableStream |
|
| WatchableWriter |
A java.io.Writer used to write unicode data into Blobs and Clobs
|
| 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.
|
| WrongArgumentException |
|