Uses of Interface
io.quarkus.mongodb.panache.PanacheQuery
Packages that use PanacheQuery
-
Uses of PanacheQuery in io.quarkus.mongodb.panache
Methods in io.quarkus.mongodb.panache that return PanacheQueryModifier and TypeMethodDescriptionstatic <T extends PanacheMongoEntityBase>
PanacheQuery<T> Find entities using a query, with named parameters.static <T extends PanacheMongoEntityBase>
PanacheQuery<T> PanacheMongoEntityBase.find(String query, io.quarkus.panache.common.Sort sort, io.quarkus.panache.common.Parameters params) Find entities using a query and the given sort options, with named parameters.static <T extends PanacheMongoEntityBase>
PanacheQuery<T> Find entities using a query and the given sort options, with optional indexed parameters.static <T extends PanacheMongoEntityBase>
PanacheQuery<T> PanacheMongoEntityBase.find(String query, io.quarkus.panache.common.Sort sort, Map<String, Object> params) Find entities using a query and the given sort options, with named parameters.static <T extends PanacheMongoEntityBase>
PanacheQuery<T> Find entities using a query, with optional indexed parameters.static <T extends PanacheMongoEntityBase>
PanacheQuery<T> Find entities using a query, with named parameters.static <T extends PanacheMongoEntityBase>
PanacheQuery<T> PanacheMongoEntityBase.find(org.bson.conversions.Bson query) Find entities using a BSON query.static <T extends PanacheMongoEntityBase>
PanacheQuery<T> PanacheMongoEntityBase.find(org.bson.conversions.Bson query, org.bson.conversions.Bson sort) Find entities using a BSON query and a BSON sort.default PanacheQuery<Entity> Find entities using a query, with named parameters.default PanacheQuery<Entity> PanacheMongoRepositoryBase.find(String query, io.quarkus.panache.common.Sort sort, io.quarkus.panache.common.Parameters params) Find entities using a query and the given sort options, with named parameters.default PanacheQuery<Entity> PanacheMongoRepositoryBase.find(String query, io.quarkus.panache.common.Sort sort, Object... params) Find entities using a query and the given sort options, with optional indexed parameters.default PanacheQuery<Entity> PanacheMongoRepositoryBase.find(String query, io.quarkus.panache.common.Sort sort, Map<String, Object> params) Find entities using a query and the given sort options, with named parameters.default PanacheQuery<Entity> Find entities using a query, with optional indexed parameters.default PanacheQuery<Entity> Find entities using a query, with named parameters.default PanacheQuery<Entity> PanacheMongoRepositoryBase.find(org.bson.conversions.Bson query) Find entities using a BSON query.default PanacheQuery<Entity> PanacheMongoRepositoryBase.find(org.bson.conversions.Bson query, org.bson.conversions.Bson sort) Find entities using a BSON query and a BSON sort.static <T extends PanacheMongoEntityBase>
PanacheQuery<T> PanacheMongoEntityBase.findAll()Find all entities of this type.static <T extends PanacheMongoEntityBase>
PanacheQuery<T> PanacheMongoEntityBase.findAll(io.quarkus.panache.common.Sort sort) Find all entities of this type, in the given order.default PanacheQuery<Entity> PanacheMongoRepositoryBase.findAll()Find all entities of this type.default PanacheQuery<Entity> PanacheMongoRepositoryBase.findAll(io.quarkus.panache.common.Sort sort) Find all entities of this type, in the given order.<T extends Entity>
PanacheQuery<T> PanacheQuery.firstPage()Sets the current page to the first page<T extends Entity>
PanacheQuery<T> PanacheQuery.lastPage()Sets the current page to the last page.<T extends Entity>
PanacheQuery<T> PanacheQuery.nextPage()Sets the current page to the next page<T extends Entity>
PanacheQuery<T> PanacheQuery.page(int pageIndex, int pageSize) Sets the current page.<T extends Entity>
PanacheQuery<T> PanacheQuery.page(io.quarkus.panache.common.Page page) Sets the current page.<T extends Entity>
PanacheQuery<T> PanacheQuery.previousPage()Sets the current page to the previous page (or the first page if there is no previous page)<T> PanacheQuery<T> Defines a projection class: the getters, and the public fields, will be used to restrict which fields should be retrieved from the database.<T extends Entity>
PanacheQuery<T> PanacheQuery.range(int startIndex, int lastIndex) Switch the query to use a fixed range (start index - last index) instead of a page.<T extends Entity>
PanacheQuery<T> PanacheQuery.withBatchSize(int batchSize) Define the batch size for this query.<T extends Entity>
PanacheQuery<T> PanacheQuery.withCollation(com.mongodb.client.model.Collation collation) Define the collation used for this query.<T extends Entity>
PanacheQuery<T> PanacheQuery.withReadPreference(com.mongodb.ReadPreference readPreference) Define the read preference used for this query. -
Uses of PanacheQuery in io.quarkus.mongodb.panache.runtime
Classes in io.quarkus.mongodb.panache.runtime that implement PanacheQueryMethods in io.quarkus.mongodb.panache.runtime that return PanacheQueryModifier and TypeMethodDescriptionprotected PanacheQuery<?> JavaMongoOperations.createQuery(com.mongodb.client.MongoCollection collection, com.mongodb.client.ClientSession session, org.bson.conversions.Bson query, org.bson.conversions.Bson sortDoc) <T extends Entity>
PanacheQuery<T> PanacheQueryImpl.firstPage()<T extends Entity>
PanacheQuery<T> PanacheQueryImpl.lastPage()<T extends Entity>
PanacheQuery<T> PanacheQueryImpl.nextPage()<T extends Entity>
PanacheQuery<T> PanacheQueryImpl.page(int pageIndex, int pageSize) <T extends Entity>
PanacheQuery<T> PanacheQueryImpl.page(io.quarkus.panache.common.Page page) <T extends Entity>
PanacheQuery<T> PanacheQueryImpl.previousPage()<T> PanacheQuery<T> <T extends Entity>
PanacheQuery<T> PanacheQueryImpl.range(int startIndex, int lastIndex) <T extends Entity>
PanacheQuery<T> PanacheQueryImpl.withBatchSize(int batchSize) <T extends Entity>
PanacheQuery<T> PanacheQueryImpl.withCollation(com.mongodb.client.model.Collation collation) <T extends Entity>
PanacheQuery<T> PanacheQueryImpl.withReadPreference(com.mongodb.ReadPreference readPreference) Methods in io.quarkus.mongodb.panache.runtime with parameters of type PanacheQueryModifier and TypeMethodDescriptionprotected List<?> JavaMongoOperations.list(PanacheQuery<?> query) protected Stream<?> JavaMongoOperations.stream(PanacheQuery<?> query)