Class ReactiveAggregateMongoQuery
java.lang.Object
org.springframework.data.mongodb.repository.query.AbstractReactiveMongoQuery
com.github.krr.mongodb.aggregate.support.query.ReactiveAggregateMongoQuery
- All Implemented Interfaces:
org.springframework.data.repository.query.RepositoryQuery
@Component
public class ReactiveAggregateMongoQuery
extends org.springframework.data.mongodb.repository.query.AbstractReactiveMongoQuery
Created by rkolliva
4/16/2018
-
Constructor Summary
ConstructorsConstructorDescriptionReactiveAggregateMongoQuery(Method method, org.springframework.data.repository.core.RepositoryMetadata metadata, org.springframework.data.mongodb.core.ReactiveMongoOperations mongoOperations, org.springframework.data.projection.ProjectionFactory projectionFactory, ReactiveMongoQueryExecutor queryExecutor) Creates a newAbstractMongoQueryfrom the givenMongoQueryMethodandMongoOperations. -
Method Summary
Modifier and TypeMethodDescriptionprotected reactor.core.publisher.Mono<org.springframework.data.mongodb.core.query.Query> createQuery(org.springframework.data.mongodb.repository.query.ConvertingParameterAccessor accessor) org.reactivestreams.Publisher<Object> protected booleanprotected booleanprotected booleanprotected booleanMethods inherited from class org.springframework.data.mongodb.repository.query.AbstractReactiveMongoQuery
createCountQuery, createUpdate, doExecute, getCodecRegistry, getParameterBindingCodec, getQueryMethod, getSpelEvaluatorFor, parseAggregationPipeline
-
Constructor Details
-
ReactiveAggregateMongoQuery
@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, ReactiveMongoQueryExecutor queryExecutor) Creates a newAbstractMongoQueryfrom the givenMongoQueryMethodandMongoOperations.- Parameters:
method- must not be null.projectionFactory- - the projection factory
-
-
Method Details
-
execute
- Specified by:
executein interfaceorg.springframework.data.repository.query.RepositoryQuery- Overrides:
executein classorg.springframework.data.mongodb.repository.query.AbstractReactiveMongoQuery
-
createQuery
protected reactor.core.publisher.Mono<org.springframework.data.mongodb.core.query.Query> createQuery(org.springframework.data.mongodb.repository.query.ConvertingParameterAccessor accessor) - Specified by:
createQueryin classorg.springframework.data.mongodb.repository.query.AbstractReactiveMongoQuery
-
isCountQuery
protected boolean isCountQuery()- Specified by:
isCountQueryin classorg.springframework.data.mongodb.repository.query.AbstractReactiveMongoQuery
-
isExistsQuery
protected boolean isExistsQuery()- Specified by:
isExistsQueryin classorg.springframework.data.mongodb.repository.query.AbstractReactiveMongoQuery
-
isDeleteQuery
protected boolean isDeleteQuery()- Specified by:
isDeleteQueryin classorg.springframework.data.mongodb.repository.query.AbstractReactiveMongoQuery
-
isLimiting
protected boolean isLimiting()- Specified by:
isLimitingin classorg.springframework.data.mongodb.repository.query.AbstractReactiveMongoQuery
-