Class CommonReactivePanacheQueryImpl<Entity>
java.lang.Object
io.quarkus.mongodb.panache.common.reactive.runtime.CommonReactivePanacheQueryImpl<Entity>
-
Constructor Summary
ConstructorDescriptionCommonReactivePanacheQueryImpl
(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()
page()
<T extends Entity>
CommonReactivePanacheQueryImpl<T>page
(int pageIndex, int pageSize) <T extends Entity>
CommonReactivePanacheQueryImpl<T>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(ReactiveMongoCollection<? extends Entity> collection, org.bson.conversions.Bson mongoQuery, org.bson.conversions.Bson sort)
-
-
Method Details
-
project
-
page
-
page
-
nextPage
-
previousPage
-
firstPage
-
lastPage
-
hasNextPage
-
hasPreviousPage
public boolean hasPreviousPage() -
pageCount
-
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
-