public class ReactivePartTreeMongoQuery extends AbstractReactiveMongoQuery
RepositoryQuery implementation for Mongo.| Constructor and Description |
|---|
ReactivePartTreeMongoQuery(ReactiveMongoQueryMethod method,
ReactiveMongoOperations mongoOperations)
|
| Modifier and Type | Method and Description |
|---|---|
protected Query |
createCountQuery(ConvertingParameterAccessor accessor)
Creates a
Query instance using the given ConvertingParameterAccessor. |
protected Query |
createQuery(ConvertingParameterAccessor accessor)
Creates a
Query instance using the given ParameterAccessor |
org.springframework.data.repository.query.parser.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.
|
execute, getQueryMethodpublic ReactivePartTreeMongoQuery(ReactiveMongoQueryMethod method, ReactiveMongoOperations mongoOperations)
method - must not be null.mongoOperations - must not be null.public org.springframework.data.repository.query.parser.PartTree getTree()
PartTree backing the query.protected Query createQuery(ConvertingParameterAccessor accessor)
AbstractReactiveMongoQueryQuery instance using the given ParameterAccessorcreateQuery in class AbstractReactiveMongoQueryaccessor - must not be null.protected 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 isDeleteQuery()
AbstractReactiveMongoQueryisDeleteQuery in class AbstractReactiveMongoQueryCopyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.