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, @Nullable CursorPreparer preparer, 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> 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, @Nullable FindPublisherPreparer preparer, org.springframework.data.mongodb.core.ReactiveMongoTemplate.DocumentCallback<T> objectCallback)
     
    protected <T> 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> 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> @Nullable T
    MongoTemplate.doFindAndRemove(CollectionPreparer collectionPreparer, String collectionName, org.bson.Document query, @Nullable org.bson.Document fields, @Nullable org.bson.Document sort, @Nullable 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> Mono<T>
    ReactiveMongoTemplate.doFindAndRemove(String collectionName, CollectionPreparer<com.mongodb.reactivestreams.client.MongoCollection<org.bson.Document>> collectionPreparer, org.bson.Document query, org.bson.Document fields, @Nullable org.bson.Document sort, @Nullable 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 <S,T> @Nullable T
    MongoTemplate.doFindAndReplace(CollectionPreparer<com.mongodb.client.MongoCollection<org.bson.Document>> collectionPreparer, String collectionName, org.bson.Document mappedQuery, org.bson.Document mappedFields, org.bson.Document mappedSort, @Nullable com.mongodb.client.model.Collation collation, Class<S> entityType, org.bson.Document replacement, FindAndReplaceOptions options, Class<T> resultType)
    Customize this part for findAndReplace.
    protected <T> 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> @Nullable 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> @Nullable 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> Mono<T>
    ReactiveMongoTemplate.doFindOne(String collectionName, CollectionPreparer<com.mongodb.reactivestreams.client.MongoCollection<org.bson.Document>> collectionPreparer, org.bson.Document query, @Nullable 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> Mono<T>
    ReactiveMongoTemplate.doFindOne(String collectionName, CollectionPreparer<com.mongodb.reactivestreams.client.MongoCollection<org.bson.Document>> collectionPreparer, org.bson.Document query, @Nullable org.bson.Document fields, Class<T> entityClass, @Nullable Collation collation)
    Map the results of an ad-hoc query on the default MongoDB collection to an object using the template's converter.