Uses of Interface
org.springframework.data.mongodb.core.CollectionPreparer

Packages that use CollectionPreparer
Package
Description
MongoDB core support.
  • Uses of CollectionPreparer in org.springframework.data.mongodb.core

    Modifier and Type
    Method
    Description
    CollectionPreparer.andThen(CollectionPreparer<T> after)
    Returns a composed CollectionPreparer that first applies this preparer to the collection, and then applies the after preparer to the result.
    static <T> CollectionPreparer<T>
    CollectionPreparer.identity()
    Returns a preparer that always returns its input collection.
    Modifier and Type
    Method
    Description
    CollectionPreparer.andThen(CollectionPreparer<T> after)
    Returns a composed CollectionPreparer that first applies this preparer to the collection, and then applies the after preparer to the result.
    protected long
    MongoTemplate.doCount(CollectionPreparer collectionPreparer, String collectionName, org.bson.Document filter, com.mongodb.client.model.CountOptions options)
     
    protected long
    MongoTemplate.doEstimatedCount(CollectionPreparer<com.mongodb.client.MongoCollection<org.bson.Document>> collectionPreparer, String collectionName, com.mongodb.client.model.EstimatedDocumentCountOptions options)
     
    protected long
    MongoTemplate.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> T
    MongoTemplate.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> T
    MongoTemplate.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> T
    MongoTemplate.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> T
    MongoTemplate.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> T
    MongoTemplate.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.