Class YugabyteDBDatabase
java.lang.Object
org.flywaydb.core.internal.database.base.Database<org.flywaydb.database.postgresql.PostgreSQLConnection>
org.flywaydb.database.postgresql.PostgreSQLDatabase
org.flywaydb.community.database.postgresql.yugabytedb.YugabyteDBDatabase
- All Implemented Interfaces:
Closeable,AutoCloseable
public class YugabyteDBDatabase
extends org.flywaydb.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
ConstructorsConstructorDescriptionYugabyteDBDatabase(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 TypeMethodDescriptionprotected YugabyteDBConnectiondoGetConnection(Connection connection) voidensureSupported(org.flywaydb.core.api.configuration.Configuration configuration) booleanMethods inherited from class org.flywaydb.database.postgresql.PostgreSQLDatabase
catalogIsSchema, doGetCurrentUser, doQuote, getBooleanFalse, getBooleanTrue, getEscapedQuote, getRawCreateScript, getSelectStatement, useSingleConnectionMethods inherited from class org.flywaydb.core.internal.database.base.Database
cleanPostSchemas, cleanPreSchemas, close, computeVersionDisplayName, determineVersion, disposeEventConnection, doCleanPostSchemas, doCleanPreSchemas, doGetCatalog, ensureDatabaseIsRecentEnough, ensureDatabaseNotOlderThanOtherwiseRecommendUpgradeToFlywayEdition, getAllSchemas, getBaselineStatement, getCatalog, getCloseQuote, getConfiguration, getCreateScript, getCurrentUser, getDatabaseType, getDefaultDelimiter, getDeleteStatement, getEventConnection, getInsertStatement, getInstalledBy, getJdbcMetaData, getMainConnection, getMigrationConnection, getOpenQuote, getUpdateStatement, getVersion, hasEventConnection, notifyDatabaseIsNotFormallySupported, quote, recommendFlywayUpgradeIfNecessary, recommendFlywayUpgradeIfNecessaryForMajorVersion, supportsEmptyMigrationDescription, supportsMultiStatementTransactions, unQuote
-
Constructor Details
-
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 Details
-
doGetConnection
- Overrides:
doGetConnectionin classorg.flywaydb.database.postgresql.PostgreSQLDatabase
-
ensureSupported
public void ensureSupported(org.flywaydb.core.api.configuration.Configuration configuration) - Overrides:
ensureSupportedin classorg.flywaydb.database.postgresql.PostgreSQLDatabase
-
supportsDdlTransactions
public boolean supportsDdlTransactions()- Overrides:
supportsDdlTransactionsin classorg.flywaydb.database.postgresql.PostgreSQLDatabase
-