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