Class ReactivePanacheUpdateImpl

java.lang.Object
io.quarkus.mongodb.panache.common.reactive.runtime.ReactivePanacheUpdateImpl
All Implemented Interfaces:
ReactivePanacheUpdate

public class ReactivePanacheUpdateImpl extends Object implements ReactivePanacheUpdate
  • Constructor Details

  • Method Details

    • where

      public io.smallrye.mutiny.Uni<Long> where(String query, Object... params)
      Description copied from interface: ReactivePanacheUpdate
      Execute the update query with the update document.
      Specified by:
      where in interface ReactivePanacheUpdate
      Parameters:
      query - a query string
      params - params optional sequence of indexed parameters
      Returns:
      the number of entities updated.
    • where

      public io.smallrye.mutiny.Uni<Long> where(String query, Map<String,Object> params)
      Description copied from interface: ReactivePanacheUpdate
      Execute the update query with the update document.
      Specified by:
      where in interface ReactivePanacheUpdate
      Parameters:
      query - a query string
      params - Map of named parameters
      Returns:
      the number of entities updated.
    • where

      public io.smallrye.mutiny.Uni<Long> where(String query, Parameters params)
      Description copied from interface: ReactivePanacheUpdate
      Execute the update query with the update document.
      Specified by:
      where in interface ReactivePanacheUpdate
      Parameters:
      query - a query string
      params - Parameters of named parameters
      Returns:
      the number of entities updated.
    • where

      public io.smallrye.mutiny.Uni<Long> where(org.bson.Document query)
      Description copied from interface: ReactivePanacheUpdate
      Execute the update query with the update document.
      Specified by:
      where in interface ReactivePanacheUpdate
      Parameters:
      query - a Document query
      Returns:
      the number of entities updated.
    • all

      public io.smallrye.mutiny.Uni<Long> all()
      Description copied from interface: ReactivePanacheUpdate
      Execute an update on all documents with the update document.
      Specified by:
      all in interface ReactivePanacheUpdate
      Returns:
      the number of entities updated.