Package org.springframework.data.mongodb.repository
@NullMarked
package org.springframework.data.mongodb.repository
MongoDB specific repository implementation.
-
ClassDescriptionThe
Aggregationannotation can be used to annotate aRepositoryquery method so that it runs theAggregation.pipeline()on invocation.Annotation to declare finder count queries directly on repository methods.Annotation to declare finder delete queries directly on repository methods.Annotation to declare finder exists queries directly on repository methods.Annotation to declare index hints for repository query, update and aggregate operations.Annotation to declare meta-information (execution time, cursor size, disk usage) for query methods.MongoRepository<T,ID> Mongo specificRepositoryinterface.Annotation to be used for disambiguating method parameters that shall be used to trigger geo near queries.Annotation to declare finder queries directly on repository methods.ReactiveMongoRepository<T,ID> Mongo specificRepositoryinterface with reactive support.Annotation to declare read preference for repository and query.Annotation to declare an infinite stream using MongoDB'stailablecursors.Annotation to declare update operators directly on repository methods.Annotation to declare Vector Search queries directly on repository methods.