Interface PanacheStatelessReactiveRepositoryQueries<Entity,Id>

All Superinterfaces:
PanacheRepositoryQueries<Entity,io.smallrye.mutiny.Uni<List<Entity>>,PanacheReactiveQuery<Entity>,io.smallrye.mutiny.Uni<Long>,io.smallrye.mutiny.Uni<Boolean>,Id>, PanacheRepositoryReactiveQueries<Entity,Id>
All Known Subinterfaces:
PanacheRepository.Reactive.Stateless<Entity,Id>, PanacheStatelessReactiveRepository<Entity>, PanacheStatelessReactiveRepositoryBase<Entity,Id>

public interface PanacheStatelessReactiveRepositoryQueries<Entity,Id> extends PanacheRepositoryReactiveQueries<Entity,Id>
  • Method Summary

    Modifier and Type
    Method
    Description
    default io.smallrye.mutiny.Uni<Long>
    Counts the number of this type of entity in the database.
    default io.smallrye.mutiny.Uni<Long>
    count(String query, Object... params)
    Counts the number of this type of entity matching the given query, with optional indexed parameters.
    default io.smallrye.mutiny.Uni<Long>
    count(String query, Map<String,Object> params)
    Counts the number of this type of entity matching the given query, with named parameters.
    default io.smallrye.mutiny.Uni<Long>
    delete(String query, Object... params)
    Delete all entities of this type matching the given query, with optional indexed parameters.
    default io.smallrye.mutiny.Uni<Long>
    delete(String query, Map<String,Object> params)
    Delete all entities of this type matching the given query, with named parameters.
    default io.smallrye.mutiny.Uni<Long>
    Delete all entities of this type from the database.
    default io.smallrye.mutiny.Uni<Boolean>
    Delete an entity of this type by ID.
    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.
    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.
    find(String query, Object... params)
    Find entities using a query, with optional indexed parameters.
    find(String query, Map<String,Object> params)
    Find entities using a query, with named parameters.
    Find all entities of this type.
    findAll(io.quarkus.panache.common.Sort sort)
    Find all entities of this type, in the given order.
    default Entity
    Find an entity of this type by ID.
    default Entity
    findById(Id id, jakarta.persistence.LockModeType lockModeType)
    Find an entity of this type by ID and lock it.
    default io.smallrye.mutiny.Uni<List<Entity>>
    list(String query, io.quarkus.panache.common.Sort sort, Object... params)
    Find entities matching a query and the given sort options, with optional indexed parameters.
    default io.smallrye.mutiny.Uni<List<Entity>>
    list(String query, io.quarkus.panache.common.Sort sort, Map<String,Object> params)
    Find entities matching a query and the given sort options, with named parameters.
    default io.smallrye.mutiny.Uni<List<Entity>>
    list(String query, Object... params)
    Find entities matching a query, with optional indexed parameters.
    default io.smallrye.mutiny.Uni<List<Entity>>
    list(String query, Map<String,Object> params)
    Find entities matching a query, with named parameters.
    default io.smallrye.mutiny.Uni<List<Entity>>
    Find all entities of this type.
    default io.smallrye.mutiny.Uni<List<Entity>>
    listAll(io.quarkus.panache.common.Sort sort)
    Find all entities of this type, in the given order.
    default io.smallrye.mutiny.Uni<Long>
    update(String query, Object... params)
    Update all entities of this type matching the given query, with optional indexed parameters.
    default io.smallrye.mutiny.Uni<Long>
    update(String query, Map<String,Object> params)
    Update all entities of this type matching the given query, with named parameters.