Class TimeplusDatabase

java.lang.Object
org.flywaydb.core.internal.database.base.Database<TimeplusConnection>
org.flywaydb.community.database.timeplus.TimeplusDatabase
All Implemented Interfaces:
Closeable, AutoCloseable

public class TimeplusDatabase extends org.flywaydb.core.internal.database.base.Database<TimeplusConnection>
  • Field Summary

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

    configuration, databaseType, jdbcConnectionFactory, jdbcMetaData, jdbcTemplate, rawMainJdbcConnection, statementInterceptor
  • Constructor Summary

    Constructors
    Constructor
    Description
    TimeplusDatabase(org.flywaydb.core.api.configuration.Configuration configuration, org.flywaydb.core.internal.jdbc.JdbcConnectionFactory jdbcConnectionFactory, org.flywaydb.core.internal.jdbc.StatementInterceptor statementInterceptor)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    void
     
     
    void
    ensureSupported(org.flywaydb.core.api.configuration.Configuration configuration)
     
     
     
     
    org.flywaydb.core.internal.util.Pair<String,Object>
    getDeleteStatement(org.flywaydb.core.internal.database.base.Table table, boolean version, String filter)
     
    getRawCreateScript(org.flywaydb.core.internal.database.base.Table table, boolean baseline)
     
     
    getUpdateStatement(org.flywaydb.core.internal.database.base.Table table)
     
     
    boolean
     
    boolean
     
    boolean
     

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

    cleanPostSchemas, cleanPreSchemas, computeVersionDisplayName, determineVersion, disposeEventConnection, doCleanPostSchemas, doCleanPreSchemas, doGetCatalog, doGetCurrentUser, doQuote, ensureDatabaseIsRecentEnough, ensureDatabaseNotOlderThanOtherwiseRecommendUpgradeToFlywayEdition, getAllSchemas, getBaselineStatement, getCatalog, getCloseQuote, getConfiguration, getCreateScript, getCurrentUser, getDatabaseHosting, getDatabaseType, getDefaultDelimiter, getEscapedQuote, getEventConnection, getInsertStatement, getInstalledBy, getJdbcMetaData, getMainConnection, getMigrationConnection, getOpenQuote, getSelectStatement, getVersion, hasEventConnection, notifyDatabaseIsNotFormallySupported, quote, recommendFlywayUpgradeIfNecessary, recommendFlywayUpgradeIfNecessaryForMajorVersion, supportsEmptyMigrationDescription, unQuote

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TimeplusDatabase

      public TimeplusDatabase(org.flywaydb.core.api.configuration.Configuration configuration, org.flywaydb.core.internal.jdbc.JdbcConnectionFactory jdbcConnectionFactory, org.flywaydb.core.internal.jdbc.StatementInterceptor statementInterceptor)
  • Method Details

    • useSingleConnection

      public boolean useSingleConnection()
      Overrides:
      useSingleConnection in class org.flywaydb.core.internal.database.base.Database<TimeplusConnection>
    • getClusterName

      public String getClusterName()
    • getZookeeperPath

      public String getZookeeperPath()
    • getSystemConnection

      public TimeplusConnection getSystemConnection()
    • doGetConnection

      protected TimeplusConnection doGetConnection(Connection connection)
      Specified by:
      doGetConnection in class org.flywaydb.core.internal.database.base.Database<TimeplusConnection>
    • ensureSupported

      public void ensureSupported(org.flywaydb.core.api.configuration.Configuration configuration)
      Specified by:
      ensureSupported in class org.flywaydb.core.internal.database.base.Database<TimeplusConnection>
    • supportsDdlTransactions

      public boolean supportsDdlTransactions()
      Specified by:
      supportsDdlTransactions in class org.flywaydb.core.internal.database.base.Database<TimeplusConnection>
    • supportsMultiStatementTransactions

      public boolean supportsMultiStatementTransactions()
      Overrides:
      supportsMultiStatementTransactions in class org.flywaydb.core.internal.database.base.Database<TimeplusConnection>
    • getBooleanTrue

      public String getBooleanTrue()
      Specified by:
      getBooleanTrue in class org.flywaydb.core.internal.database.base.Database<TimeplusConnection>
    • getBooleanFalse

      public String getBooleanFalse()
      Specified by:
      getBooleanFalse in class org.flywaydb.core.internal.database.base.Database<TimeplusConnection>
    • catalogIsSchema

      public boolean catalogIsSchema()
      Specified by:
      catalogIsSchema in class org.flywaydb.core.internal.database.base.Database<TimeplusConnection>
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Overrides:
      close in class org.flywaydb.core.internal.database.base.Database<TimeplusConnection>
    • getRawCreateScript

      public String getRawCreateScript(org.flywaydb.core.internal.database.base.Table table, boolean baseline)
      Specified by:
      getRawCreateScript in class org.flywaydb.core.internal.database.base.Database<TimeplusConnection>
    • getDeleteStatement

      public org.flywaydb.core.internal.util.Pair<String,Object> getDeleteStatement(org.flywaydb.core.internal.database.base.Table table, boolean version, String filter)
      Overrides:
      getDeleteStatement in class org.flywaydb.core.internal.database.base.Database<TimeplusConnection>
    • getUpdateStatement

      public String getUpdateStatement(org.flywaydb.core.internal.database.base.Table table)
      Overrides:
      getUpdateStatement in class org.flywaydb.core.internal.database.base.Database<TimeplusConnection>