Class StringBasedAggregation

java.lang.Object
org.springframework.data.mongodb.repository.query.AbstractMongoQuery
org.springframework.data.mongodb.repository.query.StringBasedAggregation
All Implemented Interfaces:
org.springframework.data.repository.query.RepositoryQuery

public class StringBasedAggregation extends AbstractMongoQuery
AbstractMongoQuery implementation to run string-based aggregations using Aggregation.
Since:
2.2
Author:
Christoph Strobl, Divya Srivastava, Mark Paluch
  • Constructor Details

    • StringBasedAggregation

      public StringBasedAggregation(MongoQueryMethod method, MongoOperations mongoOperations, org.springframework.expression.ExpressionParser expressionParser, org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider)
      Creates a new StringBasedAggregation from the given MongoQueryMethod and MongoOperations.
      Parameters:
      method - must not be null.
      mongoOperations - must not be null.
      expressionParser - must not be null.
      evaluationContextProvider - must not be null.
  • Method Details