| Package | Description |
|---|---|
| com.mysql.cj | |
| com.mysql.cj.jdbc | |
| com.mysql.cj.jdbc.ha | |
| com.mysql.cj.jdbc.result | |
| com.mysql.cj.log | |
| com.mysql.cj.protocol | |
| com.mysql.cj.protocol.a | |
| com.mysql.cj.protocol.x | |
| testsuite.regression |
| Modifier and Type | Class and Description |
|---|---|
class |
CoreSession |
class |
MysqlxSession |
class |
NativeSession |
| Modifier and Type | Field and Description |
|---|---|
private Session |
DataStoreMetadataImpl.session |
(package private) Session |
NativeQueryAttributesBindings.session |
private Session |
NativeQueryBindings.session |
| Modifier and Type | Field and Description |
|---|---|
private java.util.function.Function<Session,BindValue> |
NativeQueryBindings.bindValueConstructor |
| Modifier and Type | Method and Description |
|---|---|
Session |
Query.getSession() |
Session |
MysqlConnection.getSession() |
| Modifier and Type | Method and Description |
|---|---|
M |
MessageBuilder.buildComQuery(M sharedPacket,
Session sess,
PreparedQuery preparedQuery,
QueryBindings bindings,
java.lang.String characterEncoding) |
boolean |
NativeSession.isServerLocal(Session sess) |
| Constructor and Description |
|---|
DataStoreMetadataImpl(Session sess) |
NativeQueryAttributesBindings(Session sess) |
NativeQueryBindings(int parameterCount,
Session sess,
java.util.function.Function<Session,BindValue> bindValueConstructor) |
NativeQueryBindValue(Session sess) |
QueryInfo(java.lang.String sql,
Session session,
java.lang.String encoding)
Constructs a
QueryInfo object for the given query or multi-query. |
| Constructor and Description |
|---|
NativeQueryBindings(int parameterCount,
Session sess,
java.util.function.Function<Session,BindValue> bindValueConstructor) |
| Modifier and Type | Method and Description |
|---|---|
Session |
ConnectionWrapper.getSession() |
Session |
StatementImpl.getSession() |
| Constructor and Description |
|---|
MysqlParameterMetadata(Session session,
Field[] fieldInfo,
int parameterCount,
ExceptionInterceptor exceptionInterceptor) |
ParameterBindingsImpl(PreparedQuery query,
Session session,
ResultSetFactory resultSetFactory) |
| Modifier and Type | Method and Description |
|---|---|
Session |
MultiHostMySQLConnection.getSession() |
| Modifier and Type | Field and Description |
|---|---|
private Session |
ResultSetMetaData.session |
| Modifier and Type | Method and Description |
|---|---|
Session |
ResultSetImpl.getSession() |
| Constructor and Description |
|---|
ResultSetMetaData(Session session,
Field[] fields,
boolean useOldAliasBehavior,
boolean treatYearAsDate,
ExceptionInterceptor exceptionInterceptor)
Initialize for a result with a tuple set and a field descriptor set
|
| Modifier and Type | Method and Description |
|---|---|
void |
ProfilerEventHandler.processEvent(byte eventType,
Session session,
Query query,
Resultset resultSet,
long eventDuration,
java.lang.Throwable eventCreationPoint,
java.lang.String message) |
void |
LoggingProfilerEventHandler.processEvent(byte eventType,
Session session,
Query query,
Resultset resultSet,
long eventDuration,
java.lang.Throwable eventCreationPoint,
java.lang.String message) |
| Modifier and Type | Field and Description |
|---|---|
protected Session |
AbstractProtocol.session |
| Modifier and Type | Method and Description |
|---|---|
Session |
ResultsetRowsOwner.getSession() |
| Modifier and Type | Method and Description |
|---|---|
void |
Protocol.init(Session session,
SocketConnection socketConnection,
PropertySet propertySet,
TransactionEventHandler transactionManager)
Init method takes the place of constructor.
|
void |
AbstractProtocol.init(Session sess,
SocketConnection phConnection,
PropertySet propSet,
TransactionEventHandler trManager) |
default boolean |
SocketMetadata.isLocallyConnected(Session sess) |
boolean |
NamedPipeSocketFactory.isLocallyConnected(Session sess) |
default boolean |
SocketMetadata.isLocallyConnected(Session sess,
java.lang.String processHost) |
| Modifier and Type | Method and Description |
|---|---|
private void |
NativeProtocol.appendDeadlockStatusInformation(Session sess,
java.lang.String xOpen,
java.lang.StringBuilder errorBuf) |
NativePacketPayload |
NativeMessageBuilder.buildComQuery(NativePacketPayload sharedPacket,
Session sess,
PreparedQuery preparedQuery,
QueryBindings bindings,
java.lang.String characterEncoding) |
static NativeProtocol |
NativeProtocol.getInstance(Session session,
SocketConnection socketConnection,
PropertySet propertySet,
Log log,
TransactionEventHandler transactionManager) |
void |
NativeProtocol.init(Session sess,
SocketConnection phConnection,
PropertySet propSet,
TransactionEventHandler trManager) |
| Modifier and Type | Method and Description |
|---|---|
XMessage |
XMessageBuilder.buildComQuery(XMessage sharedPacket,
Session sess,
PreparedQuery preparedQuery,
QueryBindings bindings,
java.lang.String characterEncoding) |
void |
XProtocol.init(Session sess,
SocketConnection socketConn,
PropertySet propSet,
TransactionEventHandler trManager) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
NonLocalSocketFactory.isLocallyConnected(Session sess) |