Package liquibase.ext.mongodb.changelog
Class CreateChangeLogCollectionStatement
- java.lang.Object
-
- liquibase.statement.AbstractSqlStatement
-
- liquibase.nosql.statement.AbstractNoSqlStatement
-
- liquibase.ext.mongodb.statement.AbstractMongoStatement
-
- liquibase.ext.mongodb.statement.AbstractRunCommandStatement
-
- liquibase.ext.mongodb.statement.CreateCollectionStatement
-
- liquibase.ext.mongodb.changelog.CreateChangeLogCollectionStatement
-
- All Implemented Interfaces:
NoSqlExecuteStatement<MongoLiquibaseDatabase>,liquibase.statement.SqlStatement
public class CreateChangeLogCollectionStatement extends CreateCollectionStatement
-
-
Field Summary
Fields Modifier and Type Field Description static StringOPTIONSstatic StringVALIDATOR-
Fields inherited from class liquibase.ext.mongodb.statement.CreateCollectionStatement
RUN_COMMAND_NAME
-
Fields inherited from class liquibase.ext.mongodb.statement.AbstractRunCommandStatement
command, COMMAND_NAME, OK, SHELL_DB_PREFIX, WRITE_ERRORS
-
-
Constructor Summary
Constructors Constructor Description CreateChangeLogCollectionStatement(String collectionName)Creates the Statement.
-
Method Summary
-
Methods inherited from class liquibase.ext.mongodb.statement.CreateCollectionStatement
getRunCommandName
-
Methods inherited from class liquibase.ext.mongodb.statement.AbstractRunCommandStatement
checkResponse, execute, getCommandName, run, run, toJs
-
Methods inherited from class liquibase.nosql.statement.AbstractNoSqlStatement
continueOnError, skipOnUnsupported, toString
-
-
-
-
Field Detail
-
VALIDATOR
public static final String VALIDATOR
- See Also:
- Constant Field Values
-
OPTIONS
public static final String OPTIONS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CreateChangeLogCollectionStatement
public CreateChangeLogCollectionStatement(String collectionName)
Creates the Statement. Options are passed as null by intention so the Validator is created inAdjustChangeLogCollectionStatement- Parameters:
collectionName- The name of the ChangeLog Liquibase table. Is passed fromGlobalConfiguration
-
-