Class YugabyteDBDatabase

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

    public class YugabyteDBDatabase
    extends org.flywaydb.core.internal.database.postgresql.PostgreSQLDatabase
    • Field Summary

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

        configuration, databaseType, jdbcConnectionFactory, jdbcMetaData, jdbcTemplate, rawMainJdbcConnection, statementInterceptor
    • Constructor Summary

      Constructors 
      Constructor Description
      YugabyteDBDatabase​(org.flywaydb.core.api.configuration.Configuration configuration, org.flywaydb.core.internal.jdbc.JdbcConnectionFactory jdbcConnectionFactory, org.flywaydb.core.internal.jdbc.StatementInterceptor statementInterceptor)  
    • Method Summary

      Modifier and Type Method Description
      protected YugabyteDBConnection doGetConnection​(java.sql.Connection connection)  
      void ensureSupported()  
      boolean supportsDdlTransactions()  
      • Methods inherited from class org.flywaydb.core.internal.database.postgresql.PostgreSQLDatabase

        catalogIsSchema, doGetCurrentUser, doQuote, getBooleanFalse, getBooleanTrue, getRawCreateScript, getSelectStatement, supportsChangingCurrentSchema, useSingleConnection
      • Methods inherited from class org.flywaydb.core.internal.database.base.Database

        cleanPostSchemas, cleanPreSchemas, close, computeVersionDisplayName, determineVersion, doCleanPostSchemas, doCleanPreSchemas, doGetCatalog, ensureDatabaseIsRecentEnough, ensureDatabaseNotOlderThanOtherwiseRecommendUpgradeToFlywayEdition, getBaselineStatement, getCatalog, getCreateScript, getCurrentUser, getDatabaseType, getDefaultDelimiter, getInsertStatement, getInstalledBy, getJdbcMetaData, getMainConnection, getMigrationConnection, getVersion, notifyDatabaseIsNotFormallySupported, quote, recommendFlywayUpgradeIfNecessary, recommendFlywayUpgradeIfNecessaryForMajorVersion, supportsEmptyMigrationDescription, supportsMultiStatementTransactions
      • Methods inherited from class java.lang.Object

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

      • YugabyteDBDatabase

        public YugabyteDBDatabase​(org.flywaydb.core.api.configuration.Configuration configuration,
                                  org.flywaydb.core.internal.jdbc.JdbcConnectionFactory jdbcConnectionFactory,
                                  org.flywaydb.core.internal.jdbc.StatementInterceptor statementInterceptor)
    • Method Detail

      • doGetConnection

        protected YugabyteDBConnection doGetConnection​(java.sql.Connection connection)
        Overrides:
        doGetConnection in class org.flywaydb.core.internal.database.postgresql.PostgreSQLDatabase
      • ensureSupported

        public void ensureSupported()
        Overrides:
        ensureSupported in class org.flywaydb.core.internal.database.postgresql.PostgreSQLDatabase
      • supportsDdlTransactions

        public boolean supportsDdlTransactions()
        Overrides:
        supportsDdlTransactions in class org.flywaydb.core.internal.database.postgresql.PostgreSQLDatabase