Class AbstractNoSqlConnection

  • All Implemented Interfaces:
    liquibase.database.DatabaseConnection, liquibase.servicelocator.PrioritizedService
    Direct Known Subclasses:
    MongoConnection

    public abstract class AbstractNoSqlConnection
    extends Object
    implements liquibase.database.DatabaseConnection
    • Constructor Detail

      • AbstractNoSqlConnection

        public AbstractNoSqlConnection()
    • Method Detail

      • supports

        public abstract boolean supports​(String url)
        Specified by:
        supports in interface liquibase.database.DatabaseConnection
      • getPriority

        public int getPriority()
        Specified by:
        getPriority in interface liquibase.servicelocator.PrioritizedService
      • getAutoCommit

        public boolean getAutoCommit()
                              throws liquibase.exception.DatabaseException
        Specified by:
        getAutoCommit in interface liquibase.database.DatabaseConnection
        Throws:
        liquibase.exception.DatabaseException
      • setAutoCommit

        public void setAutoCommit​(boolean autoCommit)
                           throws liquibase.exception.DatabaseException
        Specified by:
        setAutoCommit in interface liquibase.database.DatabaseConnection
        Throws:
        liquibase.exception.DatabaseException
      • nativeSQL

        public String nativeSQL​(String sql)
        Specified by:
        nativeSQL in interface liquibase.database.DatabaseConnection
      • getDatabaseProductVersion

        public String getDatabaseProductVersion()
                                         throws liquibase.exception.DatabaseException
        Specified by:
        getDatabaseProductVersion in interface liquibase.database.DatabaseConnection
        Throws:
        liquibase.exception.DatabaseException
      • getDatabaseMajorVersion

        public int getDatabaseMajorVersion()
                                    throws liquibase.exception.DatabaseException
        Specified by:
        getDatabaseMajorVersion in interface liquibase.database.DatabaseConnection
        Throws:
        liquibase.exception.DatabaseException
      • getDatabaseMinorVersion

        public int getDatabaseMinorVersion()
                                    throws liquibase.exception.DatabaseException
        Specified by:
        getDatabaseMinorVersion in interface liquibase.database.DatabaseConnection
        Throws:
        liquibase.exception.DatabaseException
      • attached

        public void attached​(liquibase.database.Database database)
        Specified by:
        attached in interface liquibase.database.DatabaseConnection
      • commit

        public void commit()
                    throws liquibase.exception.DatabaseException
        Specified by:
        commit in interface liquibase.database.DatabaseConnection
        Throws:
        liquibase.exception.DatabaseException
      • rollback

        public void rollback()
                      throws liquibase.exception.DatabaseException
        Specified by:
        rollback in interface liquibase.database.DatabaseConnection
        Throws:
        liquibase.exception.DatabaseException