Uses of Interface
org.springframework.data.mongodb.core.CollectionPreparer
Packages that use CollectionPreparer
-
Uses of CollectionPreparer in org.springframework.data.mongodb.core
Methods in org.springframework.data.mongodb.core that return CollectionPreparerModifier and TypeMethodDescriptiondefault CollectionPreparer<T>CollectionPreparer.andThen(CollectionPreparer<T> after) Returns a composedCollectionPreparerthat first applies this preparer to the collection, and then applies theafterpreparer to the result.static <T> CollectionPreparer<T>CollectionPreparer.identity()Returns a preparer that always returns its input collection.Methods in org.springframework.data.mongodb.core with parameters of type CollectionPreparerModifier and TypeMethodDescriptiondefault CollectionPreparer<T>CollectionPreparer.andThen(CollectionPreparer<T> after) Returns a composedCollectionPreparerthat first applies this preparer to the collection, and then applies theafterpreparer to the result.protected longMongoTemplate.doCount(CollectionPreparer collectionPreparer, String collectionName, org.bson.Document filter, com.mongodb.client.model.CountOptions options) protected longMongoTemplate.doEstimatedCount(CollectionPreparer<com.mongodb.client.MongoCollection<org.bson.Document>> collectionPreparer, String collectionName, com.mongodb.client.model.EstimatedDocumentCountOptions options) protected longMongoTemplate.doExactCount(CollectionPreparer<com.mongodb.client.MongoCollection<org.bson.Document>> collectionPreparer, String collectionName, org.bson.Document filter, com.mongodb.client.model.CountOptions options) protected <S,T> List<T> MongoTemplate.doFind(String collectionName, CollectionPreparer<com.mongodb.client.MongoCollection<org.bson.Document>> collectionPreparer, org.bson.Document query, org.bson.Document fields, Class<S> entityClass, CursorPreparer preparer, org.springframework.data.mongodb.core.MongoTemplate.DocumentCallback<T> objectCallback) protected <T> List<T>MongoTemplate.doFind(String collectionName, CollectionPreparer<com.mongodb.client.MongoCollection<org.bson.Document>> collectionPreparer, org.bson.Document query, org.bson.Document fields, Class<T> entityClass) Map the results of an ad-hoc query on the default MongoDB collection to a List using the template's converter.protected <T> List<T>MongoTemplate.doFind(String collectionName, CollectionPreparer<com.mongodb.client.MongoCollection<org.bson.Document>> collectionPreparer, org.bson.Document query, org.bson.Document fields, Class<T> entityClass, CursorPreparer preparer) Map the results of an ad-hoc query on the default MongoDB collection to a List of the specified type.protected <S,T> reactor.core.publisher.Flux<T> ReactiveMongoTemplate.doFind(String collectionName, CollectionPreparer<com.mongodb.reactivestreams.client.MongoCollection<org.bson.Document>> collectionPreparer, org.bson.Document query, org.bson.Document fields, Class<S> entityClass, FindPublisherPreparer preparer, org.springframework.data.mongodb.core.ReactiveMongoTemplate.DocumentCallback<T> objectCallback) protected <T> reactor.core.publisher.Flux<T>ReactiveMongoTemplate.doFind(String collectionName, CollectionPreparer<com.mongodb.reactivestreams.client.MongoCollection<org.bson.Document>> collectionPreparer, org.bson.Document query, org.bson.Document fields, Class<T> entityClass) Map the results of an ad-hoc query on the default MongoDB collection to a List using the template's converter.protected <T> reactor.core.publisher.Flux<T>ReactiveMongoTemplate.doFind(String collectionName, CollectionPreparer<com.mongodb.reactivestreams.client.MongoCollection<org.bson.Document>> collectionPreparer, org.bson.Document query, org.bson.Document fields, Class<T> entityClass, FindPublisherPreparer preparer) Map the results of an ad-hoc query on the default MongoDB collection to a List of the specified type.protected <T> TMongoTemplate.doFindAndModify(CollectionPreparer collectionPreparer, String collectionName, org.bson.Document query, org.bson.Document fields, org.bson.Document sort, Class<T> entityClass, UpdateDefinition update, FindAndModifyOptions options) protected <T> reactor.core.publisher.Mono<T>ReactiveMongoTemplate.doFindAndModify(String collectionName, CollectionPreparer<com.mongodb.reactivestreams.client.MongoCollection<org.bson.Document>> collectionPreparer, org.bson.Document query, org.bson.Document fields, org.bson.Document sort, Class<T> entityClass, UpdateDefinition update, FindAndModifyOptions options) protected <T> TMongoTemplate.doFindAndRemove(CollectionPreparer collectionPreparer, String collectionName, org.bson.Document query, org.bson.Document fields, org.bson.Document sort, Collation collation, Class<T> entityClass) Map the results of an ad-hoc query on the default MongoDB collection to an object using the template's converter.protected <T> reactor.core.publisher.Mono<T>ReactiveMongoTemplate.doFindAndRemove(String collectionName, CollectionPreparer<com.mongodb.reactivestreams.client.MongoCollection<org.bson.Document>> collectionPreparer, org.bson.Document query, org.bson.Document fields, org.bson.Document sort, Collation collation, Class<T> entityClass) Map the results of an ad-hoc query on the default MongoDB collection to an object using the template's converter.protected <T> TMongoTemplate.doFindAndReplace(CollectionPreparer collectionPreparer, String collectionName, org.bson.Document mappedQuery, org.bson.Document mappedFields, org.bson.Document mappedSort, com.mongodb.client.model.Collation collation, Class<?> entityType, org.bson.Document replacement, FindAndReplaceOptions options, Class<T> resultType) Customize this part for findAndReplace.protected <T> reactor.core.publisher.Mono<T>ReactiveMongoTemplate.doFindAndReplace(String collectionName, CollectionPreparer<com.mongodb.reactivestreams.client.MongoCollection<org.bson.Document>> collectionPreparer, org.bson.Document mappedQuery, org.bson.Document mappedFields, org.bson.Document mappedSort, com.mongodb.client.model.Collation collation, Class<?> entityType, org.bson.Document replacement, FindAndReplaceOptions options, Class<T> resultType) Customize this part for findAndReplace.protected <T> TMongoTemplate.doFindOne(String collectionName, CollectionPreparer<com.mongodb.client.MongoCollection<org.bson.Document>> collectionPreparer, org.bson.Document query, org.bson.Document fields, Class<T> entityClass) Map the results of an ad-hoc query on the default MongoDB collection to an object using the template's converter.protected <T> TMongoTemplate.doFindOne(String collectionName, CollectionPreparer<com.mongodb.client.MongoCollection<org.bson.Document>> collectionPreparer, org.bson.Document query, org.bson.Document fields, CursorPreparer preparer, Class<T> entityClass) Map the results of an ad-hoc query on the default MongoDB collection to an object using the template's converter.protected <T> reactor.core.publisher.Mono<T>ReactiveMongoTemplate.doFindOne(String collectionName, CollectionPreparer<com.mongodb.reactivestreams.client.MongoCollection<org.bson.Document>> collectionPreparer, org.bson.Document query, org.bson.Document fields, Class<T> entityClass, FindPublisherPreparer preparer) Map the results of an ad-hoc query on the default MongoDB collection to an object using the template's converter.protected <T> reactor.core.publisher.Mono<T>ReactiveMongoTemplate.doFindOne(String collectionName, CollectionPreparer<com.mongodb.reactivestreams.client.MongoCollection<org.bson.Document>> collectionPreparer, org.bson.Document query, org.bson.Document fields, Class<T> entityClass, Collation collation) Map the results of an ad-hoc query on the default MongoDB collection to an object using the template's converter.