@Component
public class NonReactiveAggregateMongoQuery
extends org.springframework.data.mongodb.repository.query.AbstractMongoQuery
| Constructor and Description |
|---|
NonReactiveAggregateMongoQuery(Method method,
org.springframework.data.repository.core.RepositoryMetadata metadata,
org.springframework.data.mongodb.core.MongoOperations mongoOperations,
org.springframework.data.projection.ProjectionFactory projectionFactory,
MongoQueryExecutor queryExecutor)
Creates a new
AbstractMongoQuery from the given MongoQueryMethod and MongoOperations. |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.data.mongodb.core.query.Query |
createQuery(org.springframework.data.mongodb.repository.query.ConvertingParameterAccessor accessor) |
Object |
execute(Object[] parameters) |
protected boolean |
isCountQuery() |
protected boolean |
isDeleteQuery() |
protected boolean |
isExistsQuery() |
protected boolean |
isLimiting() |
@Autowired public NonReactiveAggregateMongoQuery(Method method, org.springframework.data.repository.core.RepositoryMetadata metadata, org.springframework.data.mongodb.core.MongoOperations mongoOperations, org.springframework.data.projection.ProjectionFactory projectionFactory, MongoQueryExecutor queryExecutor)
AbstractMongoQuery from the given MongoQueryMethod and MongoOperations.method - must not be null.projectionFactory - - the projection factorypublic Object execute(Object[] parameters)
execute in interface org.springframework.data.repository.query.RepositoryQueryexecute in class org.springframework.data.mongodb.repository.query.AbstractMongoQueryprotected org.springframework.data.mongodb.core.query.Query createQuery(org.springframework.data.mongodb.repository.query.ConvertingParameterAccessor accessor)
createQuery in class org.springframework.data.mongodb.repository.query.AbstractMongoQueryprotected boolean isCountQuery()
isCountQuery in class org.springframework.data.mongodb.repository.query.AbstractMongoQueryprotected boolean isExistsQuery()
isExistsQuery in class org.springframework.data.mongodb.repository.query.AbstractMongoQueryprotected boolean isDeleteQuery()
isDeleteQuery in class org.springframework.data.mongodb.repository.query.AbstractMongoQueryprotected boolean isLimiting()
isLimiting in class org.springframework.data.mongodb.repository.query.AbstractMongoQueryCopyright © 2018. All rights reserved.