Class CountMongoCommand
java.lang.Object
de.caluga.morphium.driver.commands.MongoCommand<CountMongoCommand>
de.caluga.morphium.driver.commands.CountMongoCommand
- All Implemented Interfaces:
SingleResultCommand
public class CountMongoCommand
extends MongoCommand<CountMongoCommand>
implements SingleResultCommand
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.caluga.morphium.driver.commands.MongoCommand
asMap, clear, fromMap, getColl, getComment, getConnection, getDb, getDefaultBatchSize, getMetaData, getRetriesOnNetworkError, getSleepBetweenErrorRetries, setColl, setComment, setConnection, setDb, setDefaultBatchSize, setMetaData, setMetaData, setRetriesOnNetworkError, setSleepBetweenErrorRetriesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.caluga.morphium.driver.commands.SingleResultCommand
asMap, getMetaData
-
Constructor Details
-
CountMongoCommand
-
-
Method Details
-
getQuery
-
setQuery
-
getLimit
-
setLimit
-
getSkip
-
setSkip
-
getHint
-
setHint
-
getReadConcern
-
setReadConcern
-
getCollation
-
setCollation
-
getCommandName
- Specified by:
getCommandNamein classMongoCommand<CountMongoCommand>
-
execute
- Specified by:
executein interfaceSingleResultCommand- Throws:
MorphiumDriverException
-
getCount
- Throws:
MorphiumDriverException
-
executeAsync
- Overrides:
executeAsyncin classMongoCommand<CountMongoCommand>- Throws:
MorphiumDriverException
-