Class MongoLiquibaseDatabase

java.lang.Object
liquibase.database.AbstractJdbcDatabase
liquibase.nosql.database.AbstractNoSqlDatabase
liquibase.ext.mongodb.database.MongoLiquibaseDatabase
All Implemented Interfaces:
AutoCloseable, liquibase.database.Database, liquibase.servicelocator.PrioritizedService

public class MongoLiquibaseDatabase extends AbstractNoSqlDatabase
  • Field Details

  • Constructor Details

    • MongoLiquibaseDatabase

      public MongoLiquibaseDatabase()
  • Method Details

    • dropDatabaseObjects

      public void dropDatabaseObjects(liquibase.CatalogAndSchema schemaToDrop) throws liquibase.exception.LiquibaseException
      Specified by:
      dropDatabaseObjects in interface liquibase.database.Database
      Specified by:
      dropDatabaseObjects in class AbstractNoSqlDatabase
      Throws:
      liquibase.exception.LiquibaseException
    • getDefaultDriver

      public String getDefaultDriver(String url)
      Specified by:
      getDefaultDriver in interface liquibase.database.Database
      Specified by:
      getDefaultDriver in class AbstractNoSqlDatabase
    • getMongoDatabase

      public com.mongodb.client.MongoDatabase getMongoDatabase()
    • getDatabaseProductName

      public String getDatabaseProductName()
      Specified by:
      getDatabaseProductName in interface liquibase.database.Database
      Specified by:
      getDatabaseProductName in class AbstractNoSqlDatabase
    • getShortName

      public String getShortName()
      Returns an all-lower-case short name of the product. Used for end-user selecting of database type such as the DBMS precondition.
    • getDefaultPort

      public Integer getDefaultPort()
    • getDefaultDatabaseProductName

      protected String getDefaultDatabaseProductName()
      Specified by:
      getDefaultDatabaseProductName in class liquibase.database.AbstractJdbcDatabase
    • getSystemSchema

      public String getSystemSchema()
      Specified by:
      getSystemSchema in interface liquibase.database.Database
      Overrides:
      getSystemSchema in class AbstractNoSqlDatabase
    • getAdjustTrackingTablesOnStartup

      public Boolean getAdjustTrackingTablesOnStartup()
      Custom Parameters
    • getSupportsValidator

      public Boolean getSupportsValidator()