Class YugabyteDBDatabaseType
java.lang.Object
org.flywaydb.core.internal.database.base.BaseDatabaseType
org.flywaydb.database.postgresql.PostgreSQLDatabaseType
org.flywaydb.community.database.postgresql.yugabytedb.YugabyteDBDatabaseType
- All Implemented Interfaces:
Comparable<org.flywaydb.core.extensibility.Plugin>,org.flywaydb.core.extensibility.Plugin,org.flywaydb.core.internal.database.base.CommunityDatabaseType,org.flywaydb.core.internal.database.DatabaseType
public class YugabyteDBDatabaseType
extends org.flywaydb.database.postgresql.PostgreSQLDatabaseType
implements org.flywaydb.core.internal.database.base.CommunityDatabaseType
-
Field Summary
Fields inherited from class org.flywaydb.core.internal.database.base.BaseDatabaseType
APPLICATION_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.flywaydb.core.internal.database.base.DatabasecreateDatabase(org.flywaydb.core.api.configuration.Configuration configuration, org.flywaydb.core.internal.jdbc.JdbcConnectionFactory jdbcConnectionFactory, org.flywaydb.core.internal.jdbc.StatementInterceptor statementInterceptor) org.flywaydb.core.internal.parser.ParsercreateParser(org.flywaydb.core.api.configuration.Configuration configuration, org.flywaydb.core.api.ResourceProvider resourceProvider, org.flywaydb.core.internal.parser.ParsingContext parsingContext) getName()getPluginVersion(org.flywaydb.core.api.configuration.Configuration config) intbooleanhandlesDatabaseProductNameAndVersion(String databaseProductName, String databaseProductVersion, Connection connection) booleanhandlesJDBCUrl(String url) Methods inherited from class org.flywaydb.database.postgresql.PostgreSQLDatabaseType
detectPasswordRequiredByUrl, detectUserRequiredByUrl, externalAuthPropertiesRequired, getDriverClass, getExternalAuthProperties, getNullType, setDefaultConnectionPropsMethods inherited from class org.flywaydb.core.internal.database.base.BaseDatabaseType
alterConnectionAsNeeded, createExecutionStrategy, createSqlScriptExecutorFactory, createSqlScriptFactory, createTransactionalExecutionTemplate, getBackupDriverClass, getDefaultJDBCCredentialsPattern, getJDBCCredentialsPattern, getSelectVersionOutput, instantiateClassExtendedErrorMessage, setConfigConnectionProps, setOverridingConnectionProps, shutdownDatabase, supportsReadOnlyTransactions, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.flywaydb.core.internal.database.base.CommunityDatabaseType
announcementForCommunitySupportMethods inherited from interface org.flywaydb.core.internal.database.DatabaseType
alterConnectionAsNeeded, createExecutionStrategy, createSqlScriptExecutorFactory, createSqlScriptFactory, createTransactionalExecutionTemplate, detectPasswordRequiredByUrl, detectUserRequiredByUrl, externalAuthPropertiesRequired, getBackupDriverClass, getDriverClass, getExternalAuthProperties, getJDBCCredentialsPattern, getNullType, getSpecialResourceFilenames, instantiateClassExtendedErrorMessage, setConfigConnectionProps, setDefaultConnectionProps, setOverridingConnectionProps, shutdownDatabase, supportsReadOnlyTransactionsMethods inherited from interface org.flywaydb.core.extensibility.Plugin
compareTo, copy, isEnabled, isLicensed
-
Constructor Details
-
YugabyteDBDatabaseType
public YugabyteDBDatabaseType()
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceorg.flywaydb.core.internal.database.DatabaseType- Specified by:
getNamein interfaceorg.flywaydb.core.extensibility.Plugin- Overrides:
getNamein classorg.flywaydb.database.postgresql.PostgreSQLDatabaseType
-
handlesJDBCUrl
- Specified by:
handlesJDBCUrlin interfaceorg.flywaydb.core.internal.database.DatabaseType- Overrides:
handlesJDBCUrlin classorg.flywaydb.database.postgresql.PostgreSQLDatabaseType
-
getPriority
public int getPriority()- Specified by:
getPriorityin interfaceorg.flywaydb.core.extensibility.Plugin
-
handlesDatabaseProductNameAndVersion
public boolean handlesDatabaseProductNameAndVersion(String databaseProductName, String databaseProductVersion, Connection connection) - Specified by:
handlesDatabaseProductNameAndVersionin interfaceorg.flywaydb.core.internal.database.DatabaseType- Overrides:
handlesDatabaseProductNameAndVersionin classorg.flywaydb.database.postgresql.PostgreSQLDatabaseType
-
createDatabase
public org.flywaydb.core.internal.database.base.Database createDatabase(org.flywaydb.core.api.configuration.Configuration configuration, org.flywaydb.core.internal.jdbc.JdbcConnectionFactory jdbcConnectionFactory, org.flywaydb.core.internal.jdbc.StatementInterceptor statementInterceptor) - Specified by:
createDatabasein interfaceorg.flywaydb.core.internal.database.DatabaseType- Overrides:
createDatabasein classorg.flywaydb.database.postgresql.PostgreSQLDatabaseType
-
createParser
public org.flywaydb.core.internal.parser.Parser createParser(org.flywaydb.core.api.configuration.Configuration configuration, org.flywaydb.core.api.ResourceProvider resourceProvider, org.flywaydb.core.internal.parser.ParsingContext parsingContext) - Specified by:
createParserin interfaceorg.flywaydb.core.internal.database.DatabaseType- Overrides:
createParserin classorg.flywaydb.database.postgresql.PostgreSQLDatabaseType
-
getPluginVersion
- Specified by:
getPluginVersionin interfaceorg.flywaydb.core.extensibility.Plugin
-