public class ReactivePartTreeMongoQuery extends AbstractReactiveMongoQuery
RepositoryQuery implementation for Mongo.| Constructor and Description |
|---|
ReactivePartTreeMongoQuery(ReactiveMongoQueryMethod method,
ReactiveMongoOperations mongoOperations,
ExpressionParser expressionParser,
ReactiveQueryMethodEvaluationContextProvider evaluationContextProvider)
|
| Modifier and Type | Method and Description |
|---|---|
protected reactor.core.publisher.Mono<Query> |
createCountQuery(ConvertingParameterAccessor accessor)
Creates a
Query instance using the given ConvertingParameterAccessor. |
protected reactor.core.publisher.Mono<Query> |
createQuery(ConvertingParameterAccessor accessor)
Creates a
Query instance using the given ParameterAccessor |
PartTree |
getTree()
Return the
PartTree backing the query. |
protected boolean |
isCountQuery()
Returns whether the query should get a count projection applied.
|
protected boolean |
isDeleteQuery()
Return weather the query should delete matching documents.
|
protected boolean |
isExistsQuery()
Returns whether the query should get an exists projection applied.
|
protected boolean |
isLimiting()
Return whether the query has an explicit limit set.
|
createUpdate, doExecute, execute, getCodecRegistry, getParameterBindingCodec, getQueryMethod, getSpelEvaluatorFor, getSpelEvaluatorFor, parseAggregationPipelinepublic ReactivePartTreeMongoQuery(ReactiveMongoQueryMethod method, ReactiveMongoOperations mongoOperations, ExpressionParser expressionParser, ReactiveQueryMethodEvaluationContextProvider evaluationContextProvider)
method - must not be null.mongoOperations - must not be null.expressionParser - must not be null.evaluationContextProvider - must not be null.protected reactor.core.publisher.Mono<Query> createQuery(ConvertingParameterAccessor accessor)
AbstractReactiveMongoQueryQuery instance using the given ParameterAccessorcreateQuery in class AbstractReactiveMongoQueryaccessor - must not be null.protected reactor.core.publisher.Mono<Query> createCountQuery(ConvertingParameterAccessor accessor)
AbstractReactiveMongoQueryQuery instance using the given ConvertingParameterAccessor. Will delegate to
AbstractReactiveMongoQuery.createQuery(ConvertingParameterAccessor) by default but allows customization of the count query to be
triggered.createCountQuery in class AbstractReactiveMongoQueryaccessor - must not be null.protected boolean isCountQuery()
AbstractReactiveMongoQueryisCountQuery in class AbstractReactiveMongoQueryprotected boolean isExistsQuery()
AbstractReactiveMongoQueryisExistsQuery in class AbstractReactiveMongoQueryprotected boolean isDeleteQuery()
AbstractReactiveMongoQueryisDeleteQuery in class AbstractReactiveMongoQueryprotected boolean isLimiting()
AbstractReactiveMongoQueryisLimiting in class AbstractReactiveMongoQueryCopyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.