Class ReactivePanacheMongoEntity
java.lang.Object
io.quarkus.mongodb.panache.reactive.ReactivePanacheMongoEntityBase
io.quarkus.mongodb.panache.reactive.ReactivePanacheMongoEntity
Represents an entity with a generated ID field
id
of type ObjectId
. 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 from ReactivePanacheMongoEntityBase
.
If you want a custom ID type or strategy, you can directly extend ReactivePanacheMongoEntityBase
instead, and write your own ID field. You will still get auto-generated accessors and
all the useful methods.- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
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 Details
-
id
public org.bson.types.ObjectId idThe auto-generated ID field. This field is set by Mongo when this entity is persisted.- See Also:
-
-
Constructor Details
-
ReactivePanacheMongoEntity
public ReactivePanacheMongoEntity()
-
-
Method Details