Class SpannerConnection

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class SpannerConnection
    extends org.flywaydb.core.internal.database.base.Connection<SpannerDatabase>
    • Field Summary

      • Fields inherited from class org.flywaydb.core.internal.database.base.Connection

        database, jdbcTemplate, originalSchemaNameOrSearchPath
    • 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)  
      • Methods inherited from class org.flywaydb.core.internal.database.base.Connection

        changeCurrentSchemaTo, close, doChangeCurrentSchemaOrSearchPathTo, doGetCurrentSchema, doRestoreOriginalState, getCurrentSchema, getJdbcConnection, getJdbcTemplate, restoreOriginalState
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SpannerConnection

        protected SpannerConnection​(SpannerDatabase database,
                                    java.sql.Connection connection)
    • Method Detail

      • getCurrentSchemaNameOrSearchPath

        protected java.lang.String getCurrentSchemaNameOrSearchPath()
        Specified by:
        getCurrentSchemaNameOrSearchPath in class org.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 class org.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 class org.flywaydb.core.internal.database.base.Connection<SpannerDatabase>