Class JavaMongoOperations

java.lang.Object
io.quarkus.mongodb.panache.common.runtime.MongoOperations<PanacheQuery<?>,io.quarkus.mongodb.panache.common.PanacheUpdate>
io.quarkus.mongodb.panache.runtime.JavaMongoOperations

public class JavaMongoOperations extends io.quarkus.mongodb.panache.common.runtime.MongoOperations<PanacheQuery<?>,io.quarkus.mongodb.panache.common.PanacheUpdate>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final JavaMongoOperations
    Provides the default implementations for quarkus to wire up.

    Fields inherited from class io.quarkus.mongodb.panache.common.runtime.MongoOperations

    ID, SESSION_KEY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected PanacheQuery<?>
    createQuery(com.mongodb.client.MongoCollection collection, com.mongodb.client.ClientSession session, org.bson.conversions.Bson query, org.bson.conversions.Bson sortDoc)
     
    protected io.quarkus.mongodb.panache.common.PanacheUpdate
    createUpdate(com.mongodb.client.MongoCollection collection, Class<?> entityClass, org.bson.conversions.Bson docUpdate)
     
    protected List<?>
    list(PanacheQuery<?> query)
     
    protected Stream<?>
    stream(PanacheQuery<?> query)
     

    Methods inherited from class io.quarkus.mongodb.panache.common.runtime.MongoOperations

    bindFilter, bindFilter, count, count, count, count, count, delete, delete, delete, delete, delete, deleteAll, deleteById, find, find, find, find, find, find, find, find, find, findAll, findAll, findById, findByIdOptional, findByIds, getSession, getSession, implementationInjectionMissing, list, list, list, list, list, list, list, list, listAll, listAll, mongoCollection, mongoDatabase, persist, persist, persist, persist, persistOrUpdate, persistOrUpdate, persistOrUpdate, persistOrUpdate, stream, stream, stream, stream, stream, stream, stream, stream, streamAll, streamAll, update, update, update, update, update, update, update, update

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • INSTANCE

      public static final JavaMongoOperations INSTANCE
      Provides the default implementations for quarkus to wire up. Should not be used by third party developers.
  • Constructor Details

    • JavaMongoOperations

      public JavaMongoOperations()
  • Method Details

    • createQuery

      protected PanacheQuery<?> createQuery(com.mongodb.client.MongoCollection collection, com.mongodb.client.ClientSession session, org.bson.conversions.Bson query, org.bson.conversions.Bson sortDoc)
      Specified by:
      createQuery in class io.quarkus.mongodb.panache.common.runtime.MongoOperations<PanacheQuery<?>,io.quarkus.mongodb.panache.common.PanacheUpdate>
    • createUpdate

      protected io.quarkus.mongodb.panache.common.PanacheUpdate createUpdate(com.mongodb.client.MongoCollection collection, Class<?> entityClass, org.bson.conversions.Bson docUpdate)
      Specified by:
      createUpdate in class io.quarkus.mongodb.panache.common.runtime.MongoOperations<PanacheQuery<?>,io.quarkus.mongodb.panache.common.PanacheUpdate>
    • list

      protected List<?> list(PanacheQuery<?> query)
      Specified by:
      list in class io.quarkus.mongodb.panache.common.runtime.MongoOperations<PanacheQuery<?>,io.quarkus.mongodb.panache.common.PanacheUpdate>
    • stream

      protected Stream<?> stream(PanacheQuery<?> query)
      Specified by:
      stream in class io.quarkus.mongodb.panache.common.runtime.MongoOperations<PanacheQuery<?>,io.quarkus.mongodb.panache.common.PanacheUpdate>