Class DbStatsCommand
- java.lang.Object
-
- de.caluga.morphium.driver.commands.MongoCommand<DbStatsCommand>
-
- de.caluga.morphium.driver.commands.DbStatsCommand
-
public class DbStatsCommand extends MongoCommand<DbStatsCommand>
-
-
Constructor Summary
Constructors Constructor Description DbStatsCommand(MongoConnection d)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>asMap()Map<String,Object>execute()StringgetCommandName()-
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
-
DbStatsCommand
public DbStatsCommand(MongoConnection d)
-
-
Method Detail
-
asMap
public Map<String,Object> asMap()
- Overrides:
asMapin classMongoCommand<DbStatsCommand>
-
getCommandName
public String getCommandName()
- Specified by:
getCommandNamein classMongoCommand<DbStatsCommand>
-
execute
public Map<String,Object> execute() throws MorphiumDriverException
- Throws:
MorphiumDriverException
-
-