Package liquibase.ext.mongodb.statement
Class DropIndexStatement
java.lang.Object
liquibase.statement.AbstractSqlStatement
liquibase.nosql.statement.AbstractNoSqlStatement
liquibase.ext.mongodb.statement.AbstractMongoStatement
liquibase.ext.mongodb.statement.AbstractRunCommandStatement
liquibase.ext.mongodb.statement.DropIndexStatement
- All Implemented Interfaces:
NoSqlExecuteStatement<MongoLiquibaseDatabase>,liquibase.statement.SqlStatement
public class DropIndexStatement
extends AbstractRunCommandStatement
implements NoSqlExecuteStatement<MongoLiquibaseDatabase>
Drops an index via the database runCommand method
For a list of supported options see the reference page:
- See Also:
-
Field Summary
FieldsFields inherited from class liquibase.ext.mongodb.statement.AbstractRunCommandStatement
command, COMMAND_NAME, OK, SHELL_DB_PREFIX, WRITE_ERRORSFields inherited from interface liquibase.statement.SqlStatement
EMPTY_SQL_STATEMENT -
Constructor Summary
ConstructorsConstructorDescriptionDropIndexStatement(String collectionName, String keys) DropIndexStatement(String collectionName, org.bson.Document keys) -
Method Summary
Modifier and TypeMethodDescriptionReturns the RunCommand command name.Methods inherited from class liquibase.ext.mongodb.statement.AbstractRunCommandStatement
checkResponse, execute, getCommandName, run, run, toJsMethods inherited from class liquibase.nosql.statement.AbstractNoSqlStatement
continueOnError, skipOnUnsupported, toStringMethods inherited from class liquibase.statement.AbstractSqlStatement
setContinueOnErrorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface liquibase.nosql.statement.NoSqlExecuteStatement
execute
-
Field Details
-
RUN_COMMAND_NAME
- See Also:
-
-
Constructor Details
-
DropIndexStatement
-
DropIndexStatement
-
-
Method Details
-
getRunCommandName
Description copied from class:AbstractRunCommandStatementReturns the RunCommand command name.- Specified by:
getRunCommandNamein classAbstractRunCommandStatement- Returns:
- the run command as this is not used and not required for a generic RunCommandStatement
- See Also:
-