Uses of Class
dev.morphia.query.CountOptions
-
Packages that use CountOptions Package Description dev.morphia dev.morphia.query -
-
Uses of CountOptions in dev.morphia
Methods in dev.morphia with parameters of type CountOptions Modifier and Type Method Description <T> long
Datastore. getCount(Query<T> query, CountOptions options)
Deprecated.useQuery.count(CountOptions)
instead<T> long
DatastoreImpl. getCount(Query<T> query, CountOptions options)
Deprecated. -
Uses of CountOptions in dev.morphia.query
Methods in dev.morphia.query that return CountOptions Modifier and Type Method Description CountOptions
CountOptions. collation(com.mongodb.client.model.Collation collation)
Sets the collationCountOptions
CountOptions. hint(java.lang.String hint)
Sets the hint to apply.CountOptions
CountOptions. limit(int limit)
Sets the limit to apply.CountOptions
CountOptions. maxTime(long maxTime, java.util.concurrent.TimeUnit timeUnit)
Sets the maximum execution time on the server for this operation.CountOptions
CountOptions. readConcern(com.mongodb.ReadConcern readConcern)
Sets the readConcernCountOptions
CountOptions. readPreference(com.mongodb.ReadPreference readPreference)
Sets the readPreferenceCountOptions
CountOptions. skip(int skip)
Sets the number of documents to skip.Methods in dev.morphia.query with parameters of type CountOptions Modifier and Type Method Description long
Query. count(CountOptions options)
Count the total number of values in the result, ignoring limit and offsetlong
QueryImpl. count(CountOptions options)
-