Class SpannerConnection
java.lang.Object
migratedb.v1.core.internal.database.base.BaseConnection<SpannerDatabase>
migratedb.v1.core.internal.database.spanner.SpannerConnection
- All Implemented Interfaces:
AutoCloseable,Connection<SpannerDatabase>
-
Field Summary
Fields inherited from class migratedb.v1.core.internal.database.base.BaseConnection
database, jdbcTemplate, originalSchemaNameOrSearchPath -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSpannerConnection(SpannerDatabase database, Connection connection) -
Method Summary
Methods inherited from class migratedb.v1.core.internal.database.base.BaseConnection
changeCurrentSchemaTo, close, doChangeCurrentSchemaOrSearchPathTo, doGetCurrentSchema, doRestoreOriginalState, getCurrentSchema, getJdbcConnection, getJdbcTemplate, restoreOriginalState
-
Constructor Details
-
SpannerConnection
-
-
Method Details
-
getCurrentSchemaNameOrSearchPath
- Specified by:
getCurrentSchemaNameOrSearchPathin classBaseConnection<SpannerDatabase>
-
getSchema
Description copied from interface:ConnectionRetrieves the schema with this name in the database. -
lock
Description copied from interface:ConnectionLocks this table and executes this callable.- Specified by:
lockin interfaceConnection<SpannerDatabase>- Overrides:
lockin classBaseConnection<SpannerDatabase>- Returns:
- The result of the callable.
-