Class QuestDBDatabaseType

java.lang.Object
org.flywaydb.core.internal.database.base.BaseDatabaseType
org.flywaydb.community.database.questdb.QuestDBDatabaseType
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 QuestDBDatabaseType extends org.flywaydb.core.internal.database.base.BaseDatabaseType 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     
    boolean
     
    boolean
     
     
    getDriverClass(String url, ClassLoader classLoader)
     
     
    int
     
    getPluginVersion(org.flywaydb.core.api.configuration.Configuration config)
     
    int
     
    boolean
    handlesDatabaseProductNameAndVersion(String databaseProductName, String databaseProductVersion, Connection connection)
     
    boolean
     

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

    alterConnectionAsNeeded, createExecutionStrategy, createSqlScriptExecutorFactory, createSqlScriptFactory, createTransactionalExecutionTemplate, externalAuthPropertiesRequired, getDefaultJDBCCredentialsPattern, getExternalAuthProperties, getJDBCCredentialsPattern, getJDBCCredentialsPatterns, getSelectVersionOutput, getSupportedEngines, instantiateClassExtendedErrorMessage, setConfigConnectionProps, setDefaultConnectionProps, 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.base.CommunityDatabaseType

    announcementForCommunitySupport

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

    alterConnectionAsNeeded, createExecutionStrategy, createSqlScriptExecutorFactory, createSqlScriptFactory, createTransactionalExecutionTemplate, externalAuthPropertiesRequired, getExternalAuthProperties, getJDBCCredentialsPattern, getJDBCCredentialsPatterns, getSpecialResourceFilenames, getSupportedEngines, instantiateClassExtendedErrorMessage, setConfigConnectionProps, setDefaultConnectionProps, setEarlyConnectionProps, setOverridingConnectionProps, shutdownDatabase, supportsReadOnlyTransactions

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

    compareTo, copy, isEnabled, isLicensed
  • Constructor Details

    • QuestDBDatabaseType

      public QuestDBDatabaseType()
  • 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
      Specified by:
      getName in class org.flywaydb.core.internal.database.base.BaseDatabaseType
    • getNullType

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

      public boolean handlesJDBCUrl(String url)
      Specified by:
      handlesJDBCUrl in interface org.flywaydb.core.internal.database.DatabaseType
      Specified by:
      handlesJDBCUrl in class org.flywaydb.core.internal.database.base.BaseDatabaseType
    • getDriverClass

      public String getDriverClass(String url, ClassLoader classLoader)
      Specified by:
      getDriverClass in interface org.flywaydb.core.internal.database.DatabaseType
      Specified by:
      getDriverClass in class org.flywaydb.core.internal.database.base.BaseDatabaseType
    • getBackupDriverClass

      public String getBackupDriverClass(String url, ClassLoader classLoader)
      Specified by:
      getBackupDriverClass in interface org.flywaydb.core.internal.database.DatabaseType
      Overrides:
      getBackupDriverClass in class org.flywaydb.core.internal.database.base.BaseDatabaseType
    • handlesDatabaseProductNameAndVersion

      public boolean handlesDatabaseProductNameAndVersion(String databaseProductName, String databaseProductVersion, Connection connection)
      Specified by:
      handlesDatabaseProductNameAndVersion in interface org.flywaydb.core.internal.database.DatabaseType
      Specified by:
      handlesDatabaseProductNameAndVersion in class org.flywaydb.core.internal.database.base.BaseDatabaseType
    • getPriority

      public int getPriority()
      Specified by:
      getPriority in interface org.flywaydb.core.extensibility.Plugin
    • createDatabase

      public QuestDBDatabase 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
      Specified by:
      createDatabase in class org.flywaydb.core.internal.database.base.BaseDatabaseType
    • 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
      Specified by:
      createParser in class org.flywaydb.core.internal.database.base.BaseDatabaseType
    • detectUserRequiredByUrl

      public boolean detectUserRequiredByUrl(String url)
      Specified by:
      detectUserRequiredByUrl in interface org.flywaydb.core.internal.database.DatabaseType
      Overrides:
      detectUserRequiredByUrl in class org.flywaydb.core.internal.database.base.BaseDatabaseType
    • detectPasswordRequiredByUrl

      public boolean detectPasswordRequiredByUrl(String url)
      Specified by:
      detectPasswordRequiredByUrl in interface org.flywaydb.core.internal.database.DatabaseType
      Overrides:
      detectPasswordRequiredByUrl in class org.flywaydb.core.internal.database.base.BaseDatabaseType
    • getPluginVersion

      public String getPluginVersion(org.flywaydb.core.api.configuration.Configuration config)
      Specified by:
      getPluginVersion in interface org.flywaydb.core.extensibility.Plugin