org.springframework.data.repository.query.RepositoryQuery@Component
public class ReactiveAggregateMongoQuery
extends org.springframework.data.mongodb.repository.query.AbstractReactiveMongoQuery
| Constructor | Description |
|---|---|
ReactiveAggregateMongoQuery(Method method,
org.springframework.data.repository.core.RepositoryMetadata metadata,
org.springframework.data.mongodb.core.ReactiveMongoOperations mongoOperations,
org.springframework.data.projection.ProjectionFactory projectionFactory,
com.github.krr.mongodb.aggregate.support.api.MongoQueryExecutor queryExecutor) |
Creates a new
AbstractMongoQuery from the given MongoQueryMethod and MongoOperations. |
| Modifier and Type | Method | 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 ReactiveAggregateMongoQuery(Method method, org.springframework.data.repository.core.RepositoryMetadata metadata, org.springframework.data.mongodb.core.ReactiveMongoOperations mongoOperations, org.springframework.data.projection.ProjectionFactory projectionFactory, com.github.krr.mongodb.aggregate.support.api.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.AbstractReactiveMongoQueryprotected 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.AbstractReactiveMongoQueryprotected boolean isCountQuery()
isCountQuery in class org.springframework.data.mongodb.repository.query.AbstractReactiveMongoQueryprotected boolean isExistsQuery()
isExistsQuery in class org.springframework.data.mongodb.repository.query.AbstractReactiveMongoQueryprotected boolean isDeleteQuery()
isDeleteQuery in class org.springframework.data.mongodb.repository.query.AbstractReactiveMongoQueryprotected boolean isLimiting()
isLimiting in class org.springframework.data.mongodb.repository.query.AbstractReactiveMongoQueryCopyright © 2019. All rights reserved.