Class JavaMongoOperations
- java.lang.Object
-
- io.quarkus.mongodb.panache.common.runtime.MongoOperations<PanacheQuery<?>,PanacheUpdate>
-
- io.quarkus.mongodb.panache.runtime.JavaMongoOperations
-
public class JavaMongoOperations extends MongoOperations<PanacheQuery<?>,PanacheUpdate>
-
-
Field Summary
Fields Modifier and Type Field Description static JavaMongoOperationsINSTANCEProvides 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 JavaMongoOperations()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PanacheQuery<?>createQuery(com.mongodb.client.MongoCollection collection, com.mongodb.client.ClientSession session, org.bson.Document query, org.bson.Document sortDoc)protected PanacheUpdatecreateUpdate(com.mongodb.client.MongoCollection collection, Class<?> entityClass, org.bson.Document 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, 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
-
-
-
-
Field Detail
-
INSTANCE
public static final JavaMongoOperations INSTANCE
Provides the default implementations for quarkus to wire up. Should not be used by third party developers.
-
-
Method Detail
-
createQuery
protected PanacheQuery<?> createQuery(com.mongodb.client.MongoCollection collection, com.mongodb.client.ClientSession session, org.bson.Document query, org.bson.Document sortDoc)
- Specified by:
createQueryin classMongoOperations<PanacheQuery<?>,PanacheUpdate>
-
createUpdate
protected PanacheUpdate createUpdate(com.mongodb.client.MongoCollection collection, Class<?> entityClass, org.bson.Document docUpdate)
- Specified by:
createUpdatein classMongoOperations<PanacheQuery<?>,PanacheUpdate>
-
list
protected List<?> list(PanacheQuery<?> query)
- Specified by:
listin classMongoOperations<PanacheQuery<?>,PanacheUpdate>
-
stream
protected Stream<?> stream(PanacheQuery<?> query)
- Specified by:
streamin classMongoOperations<PanacheQuery<?>,PanacheUpdate>
-
-