Package liquibase.ext.mongodb.database
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
-
Field Summary
FieldsFields inherited from class liquibase.database.AbstractJdbcDatabase
caseSensitive, currentDateTimeFunction, dateFunctions, defaultAutoIncrementBy, defaultAutoIncrementStartWith, defaultCatalogName, defaultSchemaName, quotingStrategy, sequenceCurrentValueFunction, sequenceNextValueFunction, unmodifiableDataTypes, unquotedObjectsAreUppercasedFields inherited from interface liquibase.database.Database
databaseChangeLogLockTableName, databaseChangeLogTableNameFields inherited from interface liquibase.servicelocator.PrioritizedService
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddropDatabaseObjects(liquibase.CatalogAndSchema schemaToDrop) Custom Parametersprotected StringgetDefaultDriver(String url) com.mongodb.client.MongoDatabaseReturns an all-lower-case short name of the product.Methods inherited from class liquibase.nosql.database.AbstractNoSqlDatabase
createsIndexesForForeignKeys, dataTypeIsNotModifiable, disableForeignKeyChecks, enableForeignKeyChecks, escapeColumnName, escapeColumnNameList, escapeConstraintName, escapeDataTypeName, escapeIndexName, escapeObjectName, escapeObjectName, escapeSequenceName, escapeStringForDatabase, escapeTableName, escapeViewName, generateDatabaseFunctionValue, generatePrimaryKeyName, getAutoCommitMode, getAutoIncrementClause, getDataTypeMaxParameters, getDateFunctions, getLineComment, getPriority, getSchemaAndCatalogCase, getViewDefinition, isCaseSensitive, isCorrectDatabaseImplementation, isFunction, isLiquibaseObject, isReservedWord, isSystemObject, requiresExplicitNullForColumns, requiresPassword, requiresUsername, supportsAutoIncrement, supportsBatchUpdates, supportsCatalogInObjectName, supportsCatalogs, supportsDDLInTransaction, supportsDropTableCascadeConstraints, supportsForeignKeyDisable, supportsInitiallyDeferrableColumns, supportsNotNullConstraintNames, supportsPrimaryKeyNames, supportsRestrictForeignKeys, supportsSchemas, supportsSequences, supportsTablespaces, toString, unescapeDataTypeName, unescapeDataTypeString, validateMethods inherited from class liquibase.database.AbstractJdbcDatabase
addReservedWords, canCreateChangeLogTable, close, commit, correctObjectName, correctSchema, correctSchema, doesTagExist, equals, escapeColumnName, execute, executeRollbackStatements, executeRollbackStatements, executeStatements, filterRollbackVisitors, generateAutoIncrementBy, generateAutoIncrementStartWith, get, getAutoIncrementByClause, getAutoIncrementClause, getAutoIncrementClause, getAutoIncrementClosing, getAutoIncrementOpening, getAutoIncrementStartWithClause, getConcatSql, getConnection, getConnectionCatalogName, getConnectionSchemaName, getConnectionSchemaNameCallStatement, getContainingObjects, getCurrentDateTimeFunction, getDatabaseChangeLogLockTableName, getDatabaseChangeLogTableName, getDatabaseMajorVersion, getDatabaseMinorVersion, getDatabaseProductVersion, getDateLiteral, getDateLiteral, getDateLiteral, getDateTimeLiteral, getDefaultCatalogName, getDefaultFractionalDigitsForTimestamp, getDefaultScaleForNativeDataType, getDefaultSchema, getDefaultSchemaName, getFetchSize, getJdbcCatalogName, getJdbcCatalogName, getJdbcSchemaName, getJdbcSchemaName, getLiquibaseCatalogName, getLiquibaseSchemaName, getLiquibaseTablespaceName, getMaxFractionalDigitsForTimestamp, getName, getObjectQuotingStrategy, getOutputDefaultCatalog, getOutputDefaultSchema, getQuotingEndCharacter, getQuotingEndReplacement, getQuotingStartCharacter, getRanChangeSet, getRanChangeSetList, getRanDate, getRunStatus, getSchemaFromJdbcInfo, getSystemTables, getSystemViews, getTimeLiteral, hashCode, isAutoCommit, isCurrentTimeFunction, isDateOnly, isDateTime, isDefaultCatalog, isDefaultSchema, isSafeToRunUpdate, isSystemView, isTimeOnly, isTimestamp, jdbcCallsCatalogsSchemas, markChangeSetExecStatus, mustQuoteObjectName, parseDate, quoteObject, removeRanStatus, resetInternalState, rollback, saveRollbackStatement, saveStatements, set, setAutoCommit, setCanCacheLiquibaseTableInfo, setCaseSensitive, setConnection, setCurrentDateTimeFunction, setDatabaseChangeLogLockTableName, setDatabaseChangeLogTableName, setDefaultCatalogName, setDefaultSchemaName, setLiquibaseCatalogName, setLiquibaseSchemaName, setLiquibaseTablespaceName, setObjectQuotingStrategy, setOutputDefaultCatalog, setOutputDefaultSchema, startsWithNumeric, tagMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface liquibase.database.Database
addReservedWords, close, commit, correctObjectName, correctSchema, doesTagExist, escapeColumnName, execute, executeRollbackStatements, executeRollbackStatements, executeStatements, getConcatSql, getConnection, getCurrentDateTimeFunction, getDatabaseChangeLogLockTableName, getDatabaseChangeLogTableName, getDatabaseMajorVersion, getDatabaseMinorVersion, getDatabaseProductVersion, getDateLiteral, getDateLiteral, getDateLiteral, getDateTimeLiteral, getDefaultCatalogName, getDefaultFractionalDigitsForTimestamp, getDefaultScaleForNativeDataType, getDefaultSchema, getDefaultSchemaName, getDisplayName, getFetchSize, getLiquibaseCatalogName, getLiquibaseSchemaName, getLiquibaseTablespaceName, getMaxFractionalDigitsForTimestamp, getObjectQuotingStrategy, getOutputDefaultCatalog, getOutputDefaultSchema, getRanChangeSet, getRanChangeSetList, getRanDate, getRunStatus, getTimeLiteral, isAutoCommit, isDefaultCatalog, isDefaultSchema, isSafeToRunUpdate, markChangeSetExecStatus, parseDate, removeRanStatus, resetInternalState, rollback, saveRollbackStatement, saveStatements, setAutoCommit, setCanCacheLiquibaseTableInfo, setConnection, setCurrentDateTimeFunction, setDatabaseChangeLogLockTableName, setDatabaseChangeLogTableName, setDefaultCatalogName, setDefaultSchemaName, setLiquibaseCatalogName, setLiquibaseSchemaName, setLiquibaseTablespaceName, setObjectQuotingStrategy, setOutputDefaultCatalog, setOutputDefaultSchema, tag
-
Field Details
-
MONGODB_PRODUCT_NAME
- See Also:
-
MONGODB_PRODUCT_SHORT_NAME
- See Also:
-
ADMIN_DATABASE_NAME
- See Also:
-
-
Constructor Details
-
MongoLiquibaseDatabase
public MongoLiquibaseDatabase()
-
-
Method Details
-
dropDatabaseObjects
public void dropDatabaseObjects(liquibase.CatalogAndSchema schemaToDrop) throws liquibase.exception.LiquibaseException - Specified by:
dropDatabaseObjectsin interfaceliquibase.database.Database- Specified by:
dropDatabaseObjectsin classAbstractNoSqlDatabase- Throws:
liquibase.exception.LiquibaseException
-
getDefaultDriver
- Specified by:
getDefaultDriverin interfaceliquibase.database.Database- Specified by:
getDefaultDriverin classAbstractNoSqlDatabase
-
getMongoDatabase
public com.mongodb.client.MongoDatabase getMongoDatabase() -
getDatabaseProductName
- Specified by:
getDatabaseProductNamein interfaceliquibase.database.Database- Specified by:
getDatabaseProductNamein classAbstractNoSqlDatabase
-
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
-
getDefaultDatabaseProductName
- Specified by:
getDefaultDatabaseProductNamein classliquibase.database.AbstractJdbcDatabase
-
getSystemSchema
- Specified by:
getSystemSchemain interfaceliquibase.database.Database- Overrides:
getSystemSchemain classAbstractNoSqlDatabase
-
getAdjustTrackingTablesOnStartup
Custom Parameters -
getSupportsValidator
-