Class SelectChangeLogLockStatement
- java.lang.Object
-
- liquibase.statement.AbstractSqlStatement
-
- liquibase.nosql.statement.AbstractNoSqlStatement
-
- liquibase.ext.mongodb.statement.AbstractMongoStatement
-
- liquibase.ext.mongodb.statement.AbstractCollectionStatement
-
- liquibase.ext.mongodb.lockservice.SelectChangeLogLockStatement
-
- All Implemented Interfaces:
NoSqlQueryForObjectStatement<MongoLiquibaseDatabase>,liquibase.statement.SqlStatement
public class SelectChangeLogLockStatement extends AbstractCollectionStatement implements NoSqlQueryForObjectStatement<MongoLiquibaseDatabase>
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOMMAND_NAME-
Fields inherited from class liquibase.ext.mongodb.statement.AbstractCollectionStatement
collectionName
-
-
Constructor Summary
Constructors Constructor Description SelectChangeLogLockStatement(String collectionName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCommandName()<T> TqueryForObject(MongoLiquibaseDatabase database, Class<T> requiredType)StringtoJs()Provides a pseudo javascript representation of the collection related statement (for example that can be ran in the mongo shell.-
Methods inherited from class liquibase.nosql.statement.AbstractNoSqlStatement
continueOnError, skipOnUnsupported, toString
-
-
-
-
Field Detail
-
COMMAND_NAME
public static final String COMMAND_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SelectChangeLogLockStatement
public SelectChangeLogLockStatement(String collectionName)
-
-
Method Detail
-
getCommandName
public String getCommandName()
- Specified by:
getCommandNamein classAbstractNoSqlStatement
-
toJs
public String toJs()
Description copied from class:AbstractCollectionStatementProvides 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 classAbstractCollectionStatement- Returns:
- javascript version of the full command
-
queryForObject
public <T> T queryForObject(MongoLiquibaseDatabase database, Class<T> requiredType)
- Specified by:
queryForObjectin interfaceNoSqlQueryForObjectStatement<MongoLiquibaseDatabase>
-
-