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.DatabaseType

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

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

    APPLICATION_NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • 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)
     
     
    int
     
    boolean
    handlesDatabaseProductNameAndVersion(String databaseProductName, String databaseProductVersion, Connection connection)
     
    boolean
     

    Methods inherited from class org.flywaydb.database.postgresql.PostgreSQLDatabaseType

    detectPasswordRequiredByUrl, detectUserRequiredByUrl, externalAuthPropertiesRequired, getDriverClass, getExternalAuthProperties, getNullType, setDefaultConnectionProps

    Methods inherited from class org.flywaydb.core.internal.database.base.BaseDatabaseType

    alterConnectionAsNeeded, createExecutionStrategy, createSqlScriptExecutorFactory, createSqlScriptFactory, createTransactionalExecutionTemplate, getBackupDriverClass, getDefaultJDBCCredentialsPattern, getJDBCCredentialsPattern, getSelectVersionOutput, instantiateClassExtendedErrorMessage, setConfigConnectionProps, setOverridingConnectionProps, shutdownDatabase, supportsReadOnlyTransactions, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.flywaydb.core.internal.database.DatabaseType

    getSpecialResourceFilenames

    Methods inherited from interface org.flywaydb.core.extensibility.Plugin

    compareTo, copy, getPluginVersion, isEnabled, isLicensed
  • Constructor Details

    • YugabyteDBDatabaseType

      public YugabyteDBDatabaseType()
  • Method Details

    • getName

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

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

      public int getPriority()
    • handlesDatabaseProductNameAndVersion

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