Uses of Class
org.springframework.data.mongodb.core.aggregation.Aggregation
Package
Description
MongoDB core support.
Support for the MongoDB aggregation framework.
MongoDB specific messaging support for listening to eg.
-
Uses of Aggregation in org.springframework.data.mongodb.core
Modifier and TypeMethodDescription<O> AggregationResults<O>
MongoOperations.aggregate
(Aggregation aggregation, Class<?> inputType, Class<O> outputType) Execute an aggregation operation.<O> AggregationResults<O>
MongoOperations.aggregate
(Aggregation aggregation, String collectionName, Class<O> outputType) Execute an aggregation operation.<O> AggregationResults<O>
MongoTemplate.aggregate
(Aggregation aggregation, Class<?> inputType, Class<O> outputType) <O> AggregationResults<O>
MongoTemplate.aggregate
(Aggregation aggregation, String collectionName, Class<O> outputType) protected <O> AggregationResults<O>
MongoTemplate.aggregate
(Aggregation aggregation, String collectionName, Class<O> outputType, AggregationOperationContext context) <O> reactor.core.publisher.Flux<O>
ReactiveMongoOperations.aggregate
(Aggregation aggregation, Class<?> inputType, Class<O> outputType) Execute an aggregation operation.<O> reactor.core.publisher.Flux<O>
ReactiveMongoOperations.aggregate
(Aggregation aggregation, String collectionName, Class<O> outputType) Execute an aggregation operation.<O> reactor.core.publisher.Flux<O>
ReactiveMongoTemplate.aggregate
(Aggregation aggregation, Class<?> inputType, Class<O> outputType) <O> reactor.core.publisher.Flux<O>
ReactiveMongoTemplate.aggregate
(Aggregation aggregation, String collectionName, Class<O> outputType) <O> Stream<O>
MongoOperations.aggregateStream
(Aggregation aggregation, Class<?> inputType, Class<O> outputType) Execute an aggregation operation backed by a Mongo DBAggregateIterable
.<O> Stream<O>
MongoOperations.aggregateStream
(Aggregation aggregation, String collectionName, Class<O> outputType) Execute an aggregation operation backed by a Mongo DBAggregateIterable
.<O> Stream<O>
MongoTemplate.aggregateStream
(Aggregation aggregation, Class<?> inputType, Class<O> outputType) <O> Stream<O>
MongoTemplate.aggregateStream
(Aggregation aggregation, String collectionName, Class<O> outputType) protected <O> Stream<O>
MongoTemplate.aggregateStream
(Aggregation aggregation, String collectionName, Class<O> outputType, AggregationOperationContext context) ExecutableAggregationOperation.AggregationWithAggregation.by
(Aggregation aggregation) Set the aggregation to be used.ReactiveAggregationOperation.AggregationOperationWithAggregation.by
(Aggregation aggregation) Set the aggregation to be used.protected <O> AggregationResults<O>
MongoTemplate.doAggregate
(Aggregation aggregation, String collectionName, Class<O> outputType, AggregationOperationContext context) protected <O> reactor.core.publisher.Flux<O>
ReactiveMongoTemplate.doAggregate
(Aggregation aggregation, String collectionName, Class<?> inputType, Class<O> outputType) ChangeStreamOptions.ChangeStreamOptionsBuilder.filter
(Aggregation filter) Set the filter to apply.ReactiveChangeStreamOperation.ChangeStreamWithFilterAndProjection.filter
(Aggregation by) Use anAggregation
to filter matching events. -
Uses of Aggregation in org.springframework.data.mongodb.core.aggregation
Modifier and TypeClassDescriptionclass
Abstraction fordb.collection.update()
using an aggregation pipeline.class
ATypedAggregation
is a specialAggregation
that holds information of the input aggregation type.Modifier and TypeMethodDescriptionstatic Aggregation
Aggregation.newAggregation
(List<? extends AggregationOperation> operations) Creates a newAggregation
from the givenAggregationOperation
s.static Aggregation
Aggregation.newAggregation
(AggregationOperation... operations) Creates a newAggregation
from the givenAggregationOperation
s.Aggregation.withOptions
(AggregationOptions options) Returns a copy of thisAggregation
with the givenAggregationOptions
set.Modifier and TypeMethodDescriptionMergeOperation.WhenDocumentsMatch.updateWith
(Aggregation aggregation) Use anAggregation
to update the document in the collection.MergeOperation.MergeOperationBuilder.whenDocumentsMatchApply
(Aggregation aggregation) Theaction
to take place when documents already exist in the target collection. -
Uses of Aggregation in org.springframework.data.mongodb.core.messaging
Modifier and TypeMethodDescriptionChangeStreamRequest.ChangeStreamRequestBuilder.filter
(Aggregation aggregation) Set the filter to apply.