Class JavaMongoOperations
java.lang.Object
io.quarkus.mongodb.panache.common.runtime.MongoOperations<PanacheQuery<?>,PanacheUpdate>
io.quarkus.mongodb.panache.runtime.JavaMongoOperations
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic 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 -
Method Summary
Modifier and TypeMethodDescriptionprotected PanacheQuery<?>
createQuery
(com.mongodb.client.MongoCollection collection, com.mongodb.client.ClientSession session, org.bson.Document query, org.bson.Document sortDoc) protected PanacheUpdate
createUpdate
(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, 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
-
Field Details
-
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.Document query, org.bson.Document sortDoc) - Specified by:
createQuery
in classMongoOperations<PanacheQuery<?>,
PanacheUpdate>
-
createUpdate
protected PanacheUpdate createUpdate(com.mongodb.client.MongoCollection collection, Class<?> entityClass, org.bson.Document docUpdate) - Specified by:
createUpdate
in classMongoOperations<PanacheQuery<?>,
PanacheUpdate>
-
list
- Specified by:
list
in classMongoOperations<PanacheQuery<?>,
PanacheUpdate>
-
stream
- Specified by:
stream
in classMongoOperations<PanacheQuery<?>,
PanacheUpdate>
-