Class YugabyteDBDatabase
java.lang.Object
migratedb.v1.core.internal.database.base.BaseDatabase<PostgreSQLConnection>
migratedb.v1.core.internal.database.postgresql.PostgreSQLDatabase
migratedb.v1.core.internal.database.yugabytedb.YugabyteDBDatabase
- All Implemented Interfaces:
Closeable,AutoCloseable,Database<PostgreSQLConnection>
-
Field Summary
Fields inherited from class migratedb.v1.core.internal.database.base.BaseDatabase
configuration, databaseType, jdbcConnectionFactory, jdbcMetaData, jdbcTemplate, rawMainJdbcConnection -
Constructor Summary
ConstructorsConstructorDescriptionYugabyteDBDatabase(Configuration configuration, JdbcConnectionFactory jdbcConnectionFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected YugabyteDBConnectiondoGetConnection(Connection connection) Retrieves a MigrateDB Connection for this JDBC connection.voidEnsure MigrateDB supports this version of this database.booleanMethods inherited from class migratedb.v1.core.internal.database.postgresql.PostgreSQLDatabase
catalogIsSchema, doGetCurrentUser, doQuote, getBooleanFalse, getBooleanTrue, getEscapedQuote, getRawCreateScript, getSelectStatement, supportsChangingCurrentSchema, useSingleConnectionMethods inherited from class migratedb.v1.core.internal.database.base.BaseDatabase
cleanPostSchemas, cleanPreSchemas, close, computeVersionDisplayName, determineVersion, doCleanPostSchemas, doCleanPreSchemas, doGetCatalog, ensureDatabaseIsRecentEnough, getAllSchemas, getBaselineStatement, getCatalog, getCloseQuote, getCreateScript, getCurrentUser, getDatabaseType, getDefaultDelimiter, getInsertStatement, getInstalledBy, getJdbcMetaData, getMainConnection, getMigrationConnection, getOpenQuote, getVersion, quote, recommendMigrateDbUpgradeIfNecessary, recommendMigrateDbUpgradeIfNecessaryForMajorVersion, supportsEmptyMigrationDescription, supportsMultiStatementTransactions, unQuote
-
Constructor Details
-
YugabyteDBDatabase
-
-
Method Details
-
doGetConnection
Description copied from class:BaseDatabaseRetrieves a MigrateDB Connection for this JDBC connection.- Overrides:
doGetConnectionin classPostgreSQLDatabase
-
ensureSupported
public void ensureSupported()Description copied from interface:DatabaseEnsure MigrateDB supports this version of this database.- Specified by:
ensureSupportedin interfaceDatabase<PostgreSQLConnection>- Overrides:
ensureSupportedin classPostgreSQLDatabase
-
supportsDdlTransactions
public boolean supportsDdlTransactions()- Specified by:
supportsDdlTransactionsin interfaceDatabase<PostgreSQLConnection>- Overrides:
supportsDdlTransactionsin classPostgreSQLDatabase
-