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> longDatastore. getCount(Query<T> query, CountOptions options)Deprecated.useQuery.count(CountOptions)instead<T> longDatastoreImpl. 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 CountOptionsCountOptions. collation(com.mongodb.client.model.Collation collation)Sets the collationCountOptionsCountOptions. hint(java.lang.String hint)Sets the hint to apply.CountOptionsCountOptions. limit(int limit)Sets the limit to apply.CountOptionsCountOptions. maxTime(long maxTime, java.util.concurrent.TimeUnit timeUnit)Sets the maximum execution time on the server for this operation.CountOptionsCountOptions. readConcern(com.mongodb.ReadConcern readConcern)Sets the readConcernCountOptionsCountOptions. readPreference(com.mongodb.ReadPreference readPreference)Sets the readPreferenceCountOptionsCountOptions. 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 longQuery. count(CountOptions options)Count the total number of values in the result, ignoring limit and offsetlongQueryImpl. count(CountOptions options)
-