Class DropDatabaseMongoCommand
- java.lang.Object
-
- de.caluga.morphium.driver.commands.MongoCommand<DropDatabaseMongoCommand>
-
- de.caluga.morphium.driver.commands.DropDatabaseMongoCommand
-
- All Implemented Interfaces:
SingleResultCommand
public class DropDatabaseMongoCommand extends MongoCommand<DropDatabaseMongoCommand> implements SingleResultCommand
-
-
Constructor Summary
Constructors Constructor Description DropDatabaseMongoCommand(MongoConnection d)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>asMap()Map<String,Object>execute()StringgetCommandName()DropDatabaseMongoCommandsetColl(String coll)-
Methods inherited from class de.caluga.morphium.driver.commands.MongoCommand
clear, executeAsync, fromMap, getColl, getComment, getConnection, getDb, getMetaData, releaseConnection, setComment, setConnection, setDb, setMetaData, setMetaData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.caluga.morphium.driver.commands.SingleResultCommand
getMetaData
-
-
-
-
Constructor Detail
-
DropDatabaseMongoCommand
public DropDatabaseMongoCommand(MongoConnection d)
-
-
Method Detail
-
setColl
public DropDatabaseMongoCommand setColl(String coll)
- Overrides:
setCollin classMongoCommand<DropDatabaseMongoCommand>
-
getCommandName
public String getCommandName()
- Specified by:
getCommandNamein classMongoCommand<DropDatabaseMongoCommand>
-
asMap
public Map<String,Object> asMap()
- Specified by:
asMapin interfaceSingleResultCommand- Overrides:
asMapin classMongoCommand<DropDatabaseMongoCommand>
-
execute
public Map<String,Object> execute() throws MorphiumDriverException
- Specified by:
executein interfaceSingleResultCommand- Throws:
MorphiumDriverException
-
-