| Package | Description |
|---|---|
| com.mysql.cj.xdevapi |
Java classes for X DevAPI support.
|
| 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 | Class and Description |
|---|---|
class |
SessionImpl
Session implementation. |
| Modifier and Type | Field and Description |
|---|---|
private Session |
SchemaImpl.session |
| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.Set<java.lang.ref.WeakReference<Session>> |
ClientImpl.nonPooledSessions |
| Modifier and Type | Method and Description |
|---|---|
Session |
CollectionImpl.getSession() |
Session |
TableImpl.getSession() |
Session |
SchemaImpl.getSession() |
Session |
ClientImpl.getSession() |
Session |
Client.getSession()
Get
Session from pool or the new one. |
Session |
DatabaseObject.getSession()
Retrieve the session owning the given schema object.
|
protected Session |
SessionFactory.getSession(ConnectionUrl connUrl)
Creates
Session by given URL. |
Session |
SessionFactory.getSession(java.util.Properties properties)
Creates a
Session using the information contained in the given properties. |
Session |
SessionFactory.getSession(java.lang.String url)
Creates
Session by given URL. |
| Constructor and Description |
|---|
SchemaImpl(MysqlxSession mysqlxSession,
Session session,
java.lang.String name) |
| Modifier and Type | Field and Description |
|---|---|
(package private) Session |
DevApiBaseTestCase.session
Session for use in tests.
|
| Modifier and Type | Method and Description |
|---|---|
private boolean |
SecureSessionTest.allowsRsa(Session sess) |
protected static void |
DevApiBaseTestCase.assertNonSecureSession(Session sess) |
protected void |
DevApiBaseTestCase.assertPreparedStatementsCountsAndId(Session sess,
int expectedPrepStmtsCount,
Statement<?,?> stmt,
int expectedId,
int expectedExec) |
protected void |
DevApiBaseTestCase.assertPreparedStatementsStatusCounts(Session sess,
int expectedPrep,
int expectedExec,
int expectedDealloc) |
protected static void |
DevApiBaseTestCase.assertSecureSession(Session sess) |
protected static void |
DevApiBaseTestCase.assertSecureSession(Session sess,
java.lang.String user) |
private void |
SecureSessionTest.assertTlsVersion(Session sess,
java.lang.String expectedTlsVersion) |
private void |
SecureSessionTest.assertUser(java.lang.String user,
Session sess) |
private java.lang.String |
CompressionTest.compressionAlgorithmAgreed(Session sess) |
private java.lang.String |
SecureSessionTest.getHighestCommonTlsVersion(Session sess) |
(package private) int |
DevApiBaseTestCase.getPreparedStatementExecutionsCount(Session sess,
int prepStmtId) |
(package private) int |
DevApiBaseTestCase.getPreparedStatementsCount(Session sess) |
(package private) int |
DevApiBaseTestCase.getPrepDeallocateCount(Session sess) |
(package private) int |
DevApiBaseTestCase.getPrepExecuteCount(Session sess) |
(package private) int |
DevApiBaseTestCase.getPrepPrepareCount(Session sess) |
protected int |
DevApiBaseTestCase.getThreadId(Session sess) |
private boolean |
CompressionTest.isCompressionEnabled(Session sess) |
protected boolean |
DevApiBaseTestCase.supportsTestCertificates(Session sess) |
private void |
SessionTest.testSessionAttributes_checkSession(Session s,
java.util.Map<java.lang.String,java.lang.String> userAttributes) |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
InternalXBaseTestCase.assertSessionStatusEquals(Session sess,
java.lang.String statusVariable,
java.lang.String expected) |
protected static void |
InternalXBaseTestCase.assertSessionStatusNotEquals(Session sess,
java.lang.String statusVariable,
java.lang.String unexpected) |