Class ListDatabasesCommand
- java.lang.Object
-
- de.caluga.morphium.driver.commands.MongoCommand<ListDatabasesCommand>
-
- de.caluga.morphium.driver.commands.ListDatabasesCommand
-
public class ListDatabasesCommand extends MongoCommand<ListDatabasesCommand>
-
-
Constructor Summary
Constructors Constructor Description ListDatabasesCommand(MongoConnection d)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>asMap()StringgetCommandName()List<Map<String,Object>>getList()-
Methods inherited from class de.caluga.morphium.driver.commands.MongoCommand
clear, executeAsync, fromMap, getColl, getComment, getConnection, getDb, getMetaData, releaseConnection, setColl, setComment, setConnection, setDb, setMetaData, setMetaData
-
-
-
-
Constructor Detail
-
ListDatabasesCommand
public ListDatabasesCommand(MongoConnection d)
-
-
Method Detail
-
getCommandName
public String getCommandName()
- Specified by:
getCommandNamein classMongoCommand<ListDatabasesCommand>
-
getList
public List<Map<String,Object>> getList() throws MorphiumDriverException
- Throws:
MorphiumDriverException
-
asMap
public Map<String,Object> asMap()
- Overrides:
asMapin classMongoCommand<ListDatabasesCommand>
-
-