Class TiDBConnection
java.lang.Object
migratedb.v1.core.internal.database.base.BaseConnection<MySQLDatabase>
migratedb.v1.core.internal.database.mysql.MySQLConnection
migratedb.v1.core.internal.database.mysql.tidb.TiDBConnection
- All Implemented Interfaces:
AutoCloseable,Connection<MySQLDatabase>
-
Field Summary
Fields inherited from class migratedb.v1.core.internal.database.base.BaseConnection
database, jdbcTemplate, originalSchemaNameOrSearchPath -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean<T> TLocks this table and executes this callable.Methods inherited from class migratedb.v1.core.internal.database.mysql.MySQLConnection
doChangeCurrentSchemaOrSearchPathTo, doGetCurrentSchema, doRestoreOriginalState, getCurrentSchemaNameOrSearchPath, getSchemaMethods inherited from class migratedb.v1.core.internal.database.base.BaseConnection
changeCurrentSchemaTo, close, getCurrentSchema, getJdbcConnection, getJdbcTemplate, restoreOriginalState
-
Constructor Details
-
TiDBConnection
-
-
Method Details
-
lock
Description copied from interface:ConnectionLocks this table and executes this callable.- Specified by:
lockin interfaceConnection<MySQLDatabase>- Overrides:
lockin classMySQLConnection- Returns:
- The result of the callable.
-
canUseNamedLockTemplate
protected boolean canUseNamedLockTemplate()- Overrides:
canUseNamedLockTemplatein classMySQLConnection
-