Annotation which helps migrate schemas by loading one of several possible properties in the document into fields or methods.
Properties for capped collections; used in
Defines the collation options for an index
Indicates that this field can be constructed from the stored fields; it doesn't require a no-args constructor.
Declares converters required for this entity/class; converters are registered globally at time of the meta-data discovery.
Allows marking and naming the collectionName
Specifies other classes to participate in the @Entity's lifecycle
Define a field to be used in an index;
This annotation allows the lazy-load proxy to return the ID of a referenced entity without reading the reference from the database.
Defines an index
Specified on fields that should be Indexed.
Defines indexes for this entity type (on the collection)
Defines the options to be used when declaring an index.
When placed on an entity field, the field will not be written to mongodb.
Called after the data has been loaded into the java object.
Called after the data has been persisted from the java object.
Called before the data has been loaded from the datastore.
Called before the data has been persisted to the datastore (before mapping is done).
Called right before DBCollection.save() is called.
Optional annotation for specifying persistence behavior
Marker for fields that should be (java) serialized
Marks this field for inclusion in text indexing.
Defines the document validation logic for a collection.
supposed to be used on a Long or long field for optimistic locking.