Interface ExecutableAggregationOperation

All Known Subinterfaces:
FluentMongoOperations, MongoOperations
All Known Implementing Classes:
MongoTemplate

public interface ExecutableAggregationOperation
ExecutableAggregationOperation allows creation and execution of MongoDB aggregation operations in a fluent API style.
The starting domainType is used for mapping the Aggregation provided via by into the MongoDB specific representation, as well as mapping back the resulting Document. An alternative input type for mapping the Aggregation can be provided by using TypedAggregation.
     
         aggregateAndReturn(Jedi.class)
             .by(newAggregation(Human.class, project("These are not the droids you are looking for")))
             .all();
     
 
Since:
2.0
Author:
Christoph Strobl, Mark Paluch