Uses of Interface
io.quarkus.mongodb.panache.PanacheQuery
-
Uses of PanacheQuery in io.quarkus.mongodb.panache
Modifier and TypeMethodDescriptionstatic <T extends PanacheMongoEntityBase>
PanacheQuery<T>PanacheMongoEntityBase.find
(String query, Parameters params) Find entities using a query, with named parameters.static <T extends PanacheMongoEntityBase>
PanacheQuery<T>PanacheMongoEntityBase.find
(String query, Sort sort, 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>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.Document query) Find entities using a BSON query.static <T extends PanacheMongoEntityBase>
PanacheQuery<T>PanacheMongoEntityBase.find
(org.bson.Document query, org.bson.Document sort) Find entities using a BSON query and a BSON sort.default PanacheQuery<Entity>
PanacheMongoRepositoryBase.find
(String query, Parameters params) Find entities using a query, with named parameters.default PanacheQuery<Entity>
PanacheMongoRepositoryBase.find
(String query, Sort sort, Parameters params) Find entities using a query and the given sort options, with named parameters.default PanacheQuery<Entity>
Find entities using a query and the given sort options, with optional indexed parameters.default PanacheQuery<Entity>
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.Document query) Find entities using a BSON query.default PanacheQuery<Entity>
PanacheMongoRepositoryBase.find
(org.bson.Document query, org.bson.Document 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>Find all entities of this type, in the given order.default PanacheQuery<Entity>
PanacheMongoRepositoryBase.findAll()
Find all entities of this type.default PanacheQuery<Entity>
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>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
Modifier and TypeMethodDescriptionprotected PanacheQuery<?>
JavaMongoOperations.createQuery
(com.mongodb.client.MongoCollection collection, com.mongodb.client.ClientSession session, org.bson.Document query, org.bson.Document 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><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) Modifier and TypeMethodDescriptionprotected List<?>
JavaMongoOperations.list
(PanacheQuery<?> query) protected Stream<?>
JavaMongoOperations.stream
(PanacheQuery<?> query)