Class IgniteThinDatabase

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class IgniteThinDatabase
    extends org.flywaydb.core.internal.database.base.Database<IgniteThinConnection>
    Apache Ignite database.
    • 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
      IgniteThinDatabase​(org.flywaydb.core.api.configuration.Configuration configuration, org.flywaydb.core.internal.jdbc.JdbcConnectionFactory jdbcConnectionFactory, org.flywaydb.core.internal.jdbc.StatementInterceptor statementInterceptor)
      Creates a new instance.
    • Method Summary

      Modifier and Type Method Description
      boolean catalogIsSchema()  
      protected org.flywaydb.core.api.MigrationVersion determineVersion()  
      protected IgniteThinConnection doGetConnection​(java.sql.Connection connection)  
      protected java.lang.String doGetCurrentUser()  
      java.lang.String doQuote​(java.lang.String identifier)  
      void ensureSupported()  
      java.lang.String getBooleanFalse()  
      java.lang.String getBooleanTrue()  
      java.lang.String getInsertStatement​(org.flywaydb.core.internal.database.base.Table table)  
      java.lang.String getRawCreateScript​(org.flywaydb.core.internal.database.base.Table table, boolean baseline)  
      java.lang.String getSelectStatement​(org.flywaydb.core.internal.database.base.Table table)  
      boolean supportsChangingCurrentSchema()  
      boolean supportsDdlTransactions()  
      boolean supportsMultiStatementTransactions()  
      boolean useSingleConnection()  
      • Methods inherited from class org.flywaydb.core.internal.database.base.Database

        cleanPostSchemas, cleanPreSchemas, close, computeVersionDisplayName, doCleanPostSchemas, doCleanPreSchemas, doGetCatalog, ensureDatabaseIsRecentEnough, ensureDatabaseNotOlderThanOtherwiseRecommendUpgradeToFlywayEdition, getBaselineStatement, getCatalog, getCreateScript, getCurrentUser, getDatabaseType, getDefaultDelimiter, getInstalledBy, getJdbcMetaData, getMainConnection, getMigrationConnection, getVersion, notifyDatabaseIsNotFormallySupported, quote, recommendFlywayUpgradeIfNecessary, recommendFlywayUpgradeIfNecessaryForMajorVersion, supportsEmptyMigrationDescription
      • Methods inherited from class java.lang.Object

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

      • IgniteThinDatabase

        public IgniteThinDatabase​(org.flywaydb.core.api.configuration.Configuration configuration,
                                  org.flywaydb.core.internal.jdbc.JdbcConnectionFactory jdbcConnectionFactory,
                                  org.flywaydb.core.internal.jdbc.StatementInterceptor statementInterceptor)
        Creates a new instance.
        Parameters:
        configuration - The Flyway configuration.
    • Method Detail

      • doGetConnection

        protected IgniteThinConnection doGetConnection​(java.sql.Connection connection)
        Specified by:
        doGetConnection in class org.flywaydb.core.internal.database.base.Database<IgniteThinConnection>
      • determineVersion

        protected org.flywaydb.core.api.MigrationVersion determineVersion()
        Overrides:
        determineVersion in class org.flywaydb.core.internal.database.base.Database<IgniteThinConnection>
      • ensureSupported

        public final void ensureSupported()
        Specified by:
        ensureSupported in class org.flywaydb.core.internal.database.base.Database<IgniteThinConnection>
      • getRawCreateScript

        public java.lang.String getRawCreateScript​(org.flywaydb.core.internal.database.base.Table table,
                                                   boolean baseline)
        Specified by:
        getRawCreateScript in class org.flywaydb.core.internal.database.base.Database<IgniteThinConnection>
      • getSelectStatement

        public java.lang.String getSelectStatement​(org.flywaydb.core.internal.database.base.Table table)
        Overrides:
        getSelectStatement in class org.flywaydb.core.internal.database.base.Database<IgniteThinConnection>
      • getInsertStatement

        public java.lang.String getInsertStatement​(org.flywaydb.core.internal.database.base.Table table)
        Overrides:
        getInsertStatement in class org.flywaydb.core.internal.database.base.Database<IgniteThinConnection>
      • doGetCurrentUser

        protected java.lang.String doGetCurrentUser()
        Overrides:
        doGetCurrentUser in class org.flywaydb.core.internal.database.base.Database<IgniteThinConnection>
      • supportsDdlTransactions

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

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

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

        public boolean supportsChangingCurrentSchema()
        Specified by:
        supportsChangingCurrentSchema in class org.flywaydb.core.internal.database.base.Database<IgniteThinConnection>
      • getBooleanTrue

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

        public java.lang.String getBooleanFalse()
        Specified by:
        getBooleanFalse in class org.flywaydb.core.internal.database.base.Database<IgniteThinConnection>
      • doQuote

        public java.lang.String doQuote​(java.lang.String identifier)
        Specified by:
        doQuote in class org.flywaydb.core.internal.database.base.Database<IgniteThinConnection>
      • catalogIsSchema

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