Class CommonReactivePanacheQueryImpl<Entity>
java.lang.Object
io.quarkus.mongodb.panache.common.reactive.runtime.CommonReactivePanacheQueryImpl<Entity>
-
Constructor Summary
ConstructorsConstructorDescriptionCommonReactivePanacheQueryImpl(io.quarkus.mongodb.reactive.ReactiveMongoCollection<? extends Entity> collection, org.bson.conversions.Bson mongoQuery, org.bson.conversions.Bson sort) -
Method Summary
Modifier and TypeMethodDescriptionio.smallrye.mutiny.Uni<Long> count()<T extends Entity>
CommonReactivePanacheQueryImpl<T> <T extends Entity>
io.smallrye.mutiny.Uni<T> io.smallrye.mutiny.Uni<Boolean> boolean<T extends Entity>
io.smallrye.mutiny.Uni<CommonReactivePanacheQueryImpl<T>> lastPage()list()<T extends Entity>
CommonReactivePanacheQueryImpl<T> nextPage()io.quarkus.panache.common.Pagepage()<T extends Entity>
CommonReactivePanacheQueryImpl<T> page(int pageIndex, int pageSize) <T extends Entity>
CommonReactivePanacheQueryImpl<T> page(io.quarkus.panache.common.Page page) io.smallrye.mutiny.Uni<Integer> <T extends Entity>
CommonReactivePanacheQueryImpl<T> <T extends Entity>
CommonReactivePanacheQueryImpl<T> range(int startIndex, int lastIndex) <T extends Entity>
io.smallrye.mutiny.Uni<T> <T extends Entity>
io.smallrye.mutiny.Multi<T> stream()<T extends Entity>
CommonReactivePanacheQueryImpl<T> withBatchSize(int batchSize) <T extends Entity>
CommonReactivePanacheQueryImpl<T> withCollation(com.mongodb.client.model.Collation collation) <T extends Entity>
CommonReactivePanacheQueryImpl<T> withReadPreference(com.mongodb.ReadPreference readPreference)
-
Constructor Details
-
CommonReactivePanacheQueryImpl
public CommonReactivePanacheQueryImpl(io.quarkus.mongodb.reactive.ReactiveMongoCollection<? extends Entity> collection, org.bson.conversions.Bson mongoQuery, org.bson.conversions.Bson sort)
-
-
Method Details
-
project
-
page
public <T extends Entity> CommonReactivePanacheQueryImpl<T> page(io.quarkus.panache.common.Page page) -
page
-
nextPage
-
previousPage
-
firstPage
-
lastPage
-
hasNextPage
-
hasPreviousPage
public boolean hasPreviousPage() -
pageCount
-
page
public io.quarkus.panache.common.Page page() -
range
-
withCollation
public <T extends Entity> CommonReactivePanacheQueryImpl<T> withCollation(com.mongodb.client.model.Collation collation) -
withReadPreference
public <T extends Entity> CommonReactivePanacheQueryImpl<T> withReadPreference(com.mongodb.ReadPreference readPreference) -
withBatchSize
-
count
-
list
-
stream
-
firstResult
-
firstResultOptional
-
singleResult
-
singleResultOptional
-