Class SpannerSchema

    • Field Summary

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

        database, jdbcTemplate, name
    • Constructor Summary

      Constructors 
      Constructor Description
      SpannerSchema​(org.flywaydb.core.internal.jdbc.JdbcTemplate jdbcTemplate, SpannerDatabase database, java.lang.String name)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected SpannerTable[] doAllTables()  
      protected void doClean()  
      protected void doCreate()  
      protected void doDrop()  
      protected boolean doEmpty()  
      protected boolean doExists()  
      org.flywaydb.core.internal.database.base.Table getTable​(java.lang.String tableName)  
      • Methods inherited from class org.flywaydb.core.internal.database.base.Schema

        allFunctions, allTables, allTypes, clean, create, doAllFunctions, drop, empty, equals, exists, getFunction, getName, getType, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SpannerSchema

        public SpannerSchema​(org.flywaydb.core.internal.jdbc.JdbcTemplate jdbcTemplate,
                             SpannerDatabase database,
                             java.lang.String name)
    • Method Detail

      • doExists

        protected boolean doExists()
        Specified by:
        doExists in class org.flywaydb.core.internal.database.base.Schema<SpannerDatabase,​SpannerTable>
      • doEmpty

        protected boolean doEmpty()
                           throws java.sql.SQLException
        Specified by:
        doEmpty in class org.flywaydb.core.internal.database.base.Schema<SpannerDatabase,​SpannerTable>
        Throws:
        java.sql.SQLException
      • doCreate

        protected void doCreate()
        Specified by:
        doCreate in class org.flywaydb.core.internal.database.base.Schema<SpannerDatabase,​SpannerTable>
      • doDrop

        protected void doDrop()
                       throws java.sql.SQLException
        Specified by:
        doDrop in class org.flywaydb.core.internal.database.base.Schema<SpannerDatabase,​SpannerTable>
        Throws:
        java.sql.SQLException
      • doClean

        protected void doClean()
                        throws java.sql.SQLException
        Specified by:
        doClean in class org.flywaydb.core.internal.database.base.Schema<SpannerDatabase,​SpannerTable>
        Throws:
        java.sql.SQLException
      • doAllTables

        protected SpannerTable[] doAllTables()
                                      throws java.sql.SQLException
        Specified by:
        doAllTables in class org.flywaydb.core.internal.database.base.Schema<SpannerDatabase,​SpannerTable>
        Throws:
        java.sql.SQLException
      • getTable

        public org.flywaydb.core.internal.database.base.Table getTable​(java.lang.String tableName)
        Specified by:
        getTable in class org.flywaydb.core.internal.database.base.Schema<SpannerDatabase,​SpannerTable>