Class AdminMongoCommand<T extends MongoCommand>
- java.lang.Object
-
- de.caluga.morphium.driver.commands.MongoCommand<T>
-
- de.caluga.morphium.driver.commands.AdminMongoCommand<T>
-
- All Implemented Interfaces:
SingleResultCommand
- Direct Known Subclasses:
AbortTransactionCommand,CommitTransactionCommand,CreateRoleAdminCommand,CreateUserAdminCommand,RenameCollectionCommand,ShutdownCommand,StepDownCommand
public abstract class AdminMongoCommand<T extends MongoCommand> extends MongoCommand<T> implements SingleResultCommand
-
-
Constructor Summary
Constructors Constructor Description AdminMongoCommand(MongoConnection d)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>asMap()Map<String,Object>execute()intexecuteAsync()-
Methods inherited from class de.caluga.morphium.driver.commands.MongoCommand
clear, fromMap, getColl, getCommandName, getComment, getConnection, getDb, getMetaData, releaseConnection, setColl, 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
-
AdminMongoCommand
public AdminMongoCommand(MongoConnection d)
-
-
Method Detail
-
asMap
public Map<String,Object> asMap()
- Specified by:
asMapin interfaceSingleResultCommand- Overrides:
asMapin classMongoCommand<T extends MongoCommand>
-
execute
public Map<String,Object> execute() throws MorphiumDriverException
- Specified by:
executein interfaceSingleResultCommand- Throws:
MorphiumDriverException
-
executeAsync
public int executeAsync() throws MorphiumDriverException- Overrides:
executeAsyncin classMongoCommand<T extends MongoCommand>- Throws:
MorphiumDriverException
-
-