| Package | Description |
|---|---|
| com.mysql.cj | |
| com.mysql.cj.jdbc | |
| com.mysql.cj.jdbc.ha | |
| com.mysql.cj.protocol | |
| com.mysql.cj.protocol.a | |
| com.mysql.cj.protocol.x | |
| com.mysql.cj.util | |
| testsuite | |
| testsuite.x.devapi |
Dev API test suite.
|
| testsuite.x.internal |
Tests for internal components of the X Protocol and X DevAPI features.
|
| Modifier and Type | Field and Description |
|---|---|
ServerVersion |
MysqlCharset.minimumVersion |
| Modifier and Type | Method and Description |
|---|---|
static ServerVersion |
ServerVersion.parseVersion(java.lang.String versionString)
Parse the server version into major/minor/subminor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
ServerVersion.compareTo(ServerVersion other) |
int |
CharsetSettings.getCollationIndexForJavaEncoding(java.lang.String javaEncoding,
ServerVersion version) |
int |
NativeCharsetSettings.getCollationIndexForJavaEncoding(java.lang.String javaEncoding,
ServerVersion version) |
java.lang.String |
CharsetSettings.getMysqlCharsetForJavaEncoding(java.lang.String javaEncoding,
ServerVersion version) |
java.lang.String |
NativeCharsetSettings.getMysqlCharsetForJavaEncoding(java.lang.String javaEncoding,
ServerVersion version) |
protected static int |
CharsetMapping.getStaticCollationIndexForJavaEncoding(java.lang.String javaEncoding,
ServerVersion version) |
static int |
CharsetMappingWrapper.getStaticCollationIndexForJavaEncoding(java.lang.String javaEncoding,
ServerVersion version) |
protected static java.lang.String |
CharsetMapping.getStaticMysqlCharsetForJavaEncoding(java.lang.String javaEncoding,
ServerVersion version) |
static java.lang.String |
CharsetMappingWrapper.getStaticMysqlCharsetForJavaEncoding(java.lang.String javaEncoding,
ServerVersion version) |
(package private) boolean |
MysqlCharset.isOkayForVersion(ServerVersion version) |
boolean |
ServerVersion.meetsMinimum(ServerVersion min)
Does this version meet the minimum specified by `min'?
|
| Constructor and Description |
|---|
MysqlCharset(java.lang.String charsetName,
int mblen,
int priority,
java.lang.String[] javaEncodings,
ServerVersion minimumVersion) |
| Modifier and Type | Field and Description |
|---|---|
private static java.util.Map<ServerVersion,java.lang.String> |
DatabaseMetaDataUsingInfoSchema.keywordsCache |
| Modifier and Type | Method and Description |
|---|---|
ServerVersion |
ConnectionWrapper.getServerVersion() |
ServerVersion |
ConnectionImpl.getServerVersion() |
ServerVersion |
JdbcConnection.getServerVersion() |
| Modifier and Type | Method and Description |
|---|---|
ServerVersion |
MultiHostMySQLConnection.getServerVersion() |
| Modifier and Type | Method and Description |
|---|---|
ServerVersion |
ServerCapabilities.getServerVersion() |
ServerVersion |
ServerSession.getServerVersion()
Get the version of the MySQL server we are talking to.
|
| Modifier and Type | Method and Description |
|---|---|
private static java.lang.String[] |
ExportControlled.getAllowedProtocols(PropertySet pset,
ServerVersion serverVersion,
java.lang.String[] socketProtocols) |
boolean |
ServerSession.isVersion(ServerVersion version)
Is the version of the MySQL server we are connected to the given
version?
|
static java.net.Socket |
ExportControlled.performTlsHandshake(java.net.Socket rawSocket,
SocketConnection socketConnection,
ServerVersion serverVersion,
Log log)
Converts the socket being used in the given SocketConnection to an SSLSocket by performing the SSL/TLS handshake.
|
| Modifier and Type | Field and Description |
|---|---|
private ServerVersion |
NativeCapabilities.serverVersion |
| Modifier and Type | Method and Description |
|---|---|
ServerVersion |
NativeServerSession.getServerVersion() |
ServerVersion |
NativeCapabilities.getServerVersion() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
NativeServerSession.isVersion(ServerVersion version) |
| Modifier and Type | Method and Description |
|---|---|
ServerVersion |
XServerCapabilities.getServerVersion() |
ServerVersion |
XServerSession.getServerVersion() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
XServerSession.isVersion(ServerVersion version) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
StringUtils.canHandleAsServerPreparedStatementNoCache(java.lang.String sql,
ServerVersion serverVersion,
boolean allowMultiQueries,
boolean noBackslashEscapes,
boolean useAnsiQuotes) |
| Modifier and Type | Field and Description |
|---|---|
protected ServerVersion |
BaseTestCase.serverVersion
Server version `this.conn' is connected to.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
BaseTestCase.supportsTLSv1_2(ServerVersion version) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
DevApiBaseTestCase.supportsTLSv1_2(ServerVersion version) |
| Modifier and Type | Field and Description |
|---|---|
private ServerVersion |
InternalXBaseTestCase.mysqlVersion |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
InternalXBaseTestCase.mysqlVersionMeetsMinimum(ServerVersion version)
Checks if the MySQL version we are connected to meets the minimum
ServerVersion provided. |
protected boolean |
InternalXBaseTestCase.mysqlVersionMeetsMinimum(java.lang.String url,
ServerVersion version)
Checks if the MySQL version we are connected to meets the minimum
ServerVersion provided. |