Package liquibase.ext.mongodb.statement
Class AbstractCollectionStatement
java.lang.Object
liquibase.statement.AbstractSqlStatement
liquibase.nosql.statement.AbstractNoSqlStatement
liquibase.ext.mongodb.statement.AbstractMongoStatement
liquibase.ext.mongodb.statement.AbstractCollectionStatement
- All Implemented Interfaces:
liquibase.statement.SqlStatement
- Direct Known Subclasses:
CountDocumentsInCollectionStatement,DeleteManyStatement,FindAllStatement,GetMaxChangeSetSequenceStatement,ReplaceChangeLogLockStatement,SelectChangeLogLockStatement,UpdateManyStatement
-
Field Summary
FieldsFields inherited from interface liquibase.statement.SqlStatement
EMPTY_SQL_STATEMENT -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class liquibase.nosql.statement.AbstractNoSqlStatement
continueOnError, getCommandName, skipOnUnsupported, toStringMethods inherited from class liquibase.statement.AbstractSqlStatement
setContinueOnError
-
Field Details
-
collectionName
-
-
Constructor Details
-
AbstractCollectionStatement
public AbstractCollectionStatement()
-
-
Method Details
-
toJs
Provides a pseudo javascript representation of the collection related statement (for example that can be ran in the mongo shell. Exceptions examples are count which uses db.getCollectionNames however filters programmatically by name).- Overrides:
toJsin classAbstractMongoStatement- Returns:
- javascript version of the full command
-