Package org.flywaydb.database.spanner
Class SpannerConnection
- java.lang.Object
-
- org.flywaydb.core.internal.database.base.Connection<SpannerDatabase>
-
- org.flywaydb.database.spanner.SpannerConnection
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class SpannerConnection extends org.flywaydb.core.internal.database.base.Connection<SpannerDatabase>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SpannerConnection(SpannerDatabase database, java.sql.Connection connection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getCurrentSchemaNameOrSearchPath()
org.flywaydb.core.internal.database.base.Schema
getSchema(java.lang.String name)
<T> T
lock(org.flywaydb.core.internal.database.base.Table table, java.util.concurrent.Callable<T> callable)
-
-
-
Constructor Detail
-
SpannerConnection
protected SpannerConnection(SpannerDatabase database, java.sql.Connection connection)
-
-
Method Detail
-
getCurrentSchemaNameOrSearchPath
protected java.lang.String getCurrentSchemaNameOrSearchPath()
- Specified by:
getCurrentSchemaNameOrSearchPath
in classorg.flywaydb.core.internal.database.base.Connection<SpannerDatabase>
-
getSchema
public org.flywaydb.core.internal.database.base.Schema getSchema(java.lang.String name)
- Specified by:
getSchema
in classorg.flywaydb.core.internal.database.base.Connection<SpannerDatabase>
-
lock
public <T> T lock(org.flywaydb.core.internal.database.base.Table table, java.util.concurrent.Callable<T> callable)
- Overrides:
lock
in classorg.flywaydb.core.internal.database.base.Connection<SpannerDatabase>
-
-