Class YugabyteDBDatabaseType

  • All Implemented Interfaces:
    java.lang.Comparable<org.flywaydb.core.internal.database.DatabaseType>, org.flywaydb.core.internal.database.DatabaseType

    public class YugabyteDBDatabaseType
    extends org.flywaydb.core.internal.database.postgresql.PostgreSQLDatabaseType
    • Field Summary

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

        APPLICATION_NAME, LOG
    • Method Summary

      Modifier and Type Method Description
      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)  
      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)  
      java.lang.String getName()  
      int getPriority()  
      boolean handlesDatabaseProductNameAndVersion​(java.lang.String databaseProductName, java.lang.String databaseProductVersion, java.sql.Connection connection)  
      boolean handlesJDBCUrl​(java.lang.String url)  
      • Methods inherited from class org.flywaydb.core.internal.database.postgresql.PostgreSQLDatabaseType

        detectPasswordRequiredByUrl, detectUserRequiredByUrl, externalAuthPropertiesRequired, getDriverClass, getExternalAuthProperties, getNullType, setDefaultConnectionProps
      • Methods inherited from class org.flywaydb.core.internal.database.base.BaseDatabaseType

        alterConnectionAsNeeded, compareTo, createDatabase, createExecutionStrategy, createSqlScriptExecutorFactory, createSqlScriptFactory, createTransactionalExecutionTemplate, getBackupDriverClass, getDefaultJDBCCredentialsPattern, getJDBCCredentialsPattern, getSelectVersionOutput, instantiateClassExtendedErrorMessage, printMessages, setConfigConnectionProps, setOverridingConnectionProps, shutdownDatabase, toString
      • Methods inherited from class java.lang.Object

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

      • YugabyteDBDatabaseType

        public YugabyteDBDatabaseType()
    • Method Detail

      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface org.flywaydb.core.internal.database.DatabaseType
        Overrides:
        getName in class org.flywaydb.core.internal.database.postgresql.PostgreSQLDatabaseType
      • handlesJDBCUrl

        public boolean handlesJDBCUrl​(java.lang.String url)
        Specified by:
        handlesJDBCUrl in interface org.flywaydb.core.internal.database.DatabaseType
        Overrides:
        handlesJDBCUrl in class org.flywaydb.core.internal.database.postgresql.PostgreSQLDatabaseType
      • getPriority

        public int getPriority()
        Specified by:
        getPriority in interface org.flywaydb.core.internal.database.DatabaseType
        Overrides:
        getPriority in class org.flywaydb.core.internal.database.base.BaseDatabaseType
      • handlesDatabaseProductNameAndVersion

        public boolean handlesDatabaseProductNameAndVersion​(java.lang.String databaseProductName,
                                                            java.lang.String databaseProductVersion,
                                                            java.sql.Connection connection)
        Specified by:
        handlesDatabaseProductNameAndVersion in interface org.flywaydb.core.internal.database.DatabaseType
        Overrides:
        handlesDatabaseProductNameAndVersion in class org.flywaydb.core.internal.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:
        createDatabase in interface org.flywaydb.core.internal.database.DatabaseType
        Overrides:
        createDatabase in class org.flywaydb.core.internal.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:
        createParser in interface org.flywaydb.core.internal.database.DatabaseType
        Overrides:
        createParser in class org.flywaydb.core.internal.database.postgresql.PostgreSQLDatabaseType