Class ReactivePanacheMongoEntity
- java.lang.Object
-
- io.quarkus.mongodb.panache.reactive.ReactivePanacheMongoEntityBase
-
- io.quarkus.mongodb.panache.reactive.ReactivePanacheMongoEntity
-
public abstract class ReactivePanacheMongoEntity extends ReactivePanacheMongoEntityBase
Represents an entity with a generated ID fieldidof typeObjectId. If your Mongo entities extend this class they gain the ID field and auto-generated accessors to all their public fields, as well as all the useful methods fromReactivePanacheMongoEntityBase. If you want a custom ID type or strategy, you can directly extendReactivePanacheMongoEntityBaseinstead, and write your own ID field. You will still get auto-generated accessors and all the useful methods.- See Also:
ReactivePanacheMongoEntityBase
-
-
Field Summary
Fields Modifier and Type Field Description org.bson.types.ObjectIdidThe auto-generated ID field.
-
Constructor Summary
Constructors Constructor Description ReactivePanacheMongoEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()-
Methods inherited from class io.quarkus.mongodb.panache.reactive.ReactivePanacheMongoEntityBase
count, count, count, count, count, delete, delete, delete, delete, delete, deleteAll, deleteById, find, find, find, find, find, find, find, find, findAll, findAll, findById, findByIdOptional, 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
-
id
public org.bson.types.ObjectId id
The auto-generated ID field. This field is set by Mongo when this entity is persisted.- See Also:
ReactivePanacheMongoEntityBase.persist()
-
-