public class PartTreeMongoQuery extends AbstractMongoQuery
RepositoryQuery implementation for Mongo.| Constructor and Description |
|---|
PartTreeMongoQuery(MongoQueryMethod method,
MongoOperations 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 |
PartTree |
getTree()
Return the
PartTree backing the query. |
execute, getQueryMethodpublic PartTreeMongoQuery(MongoQueryMethod method, MongoOperations mongoOperations)
method - must not be null.template - must not be null.protected Query createQuery(ConvertingParameterAccessor accessor)
AbstractMongoQueryQuery instance using the given ParameterAccessorcreateQuery in class AbstractMongoQueryaccessor - must not be null.protected Query createCountQuery(ConvertingParameterAccessor accessor)
AbstractMongoQueryQuery instance using the given ConvertingParameterAccessor. Will delegate to
AbstractMongoQuery.createQuery(ConvertingParameterAccessor) by default but allows customization of the count query to be
triggered.createCountQuery in class AbstractMongoQueryaccessor - must not be null.Copyright © 2011-2013-2013 SpringSource. All Rights Reserved.