org.springframework.data.mongodb.repository.query
Class PartTreeMongoQuery
java.lang.Object
org.springframework.data.mongodb.repository.query.AbstractMongoQuery
org.springframework.data.mongodb.repository.query.PartTreeMongoQuery
- All Implemented Interfaces:
- org.springframework.data.repository.query.RepositoryQuery
public class PartTreeMongoQuery
- extends AbstractMongoQuery
RepositoryQuery
implementation for Mongo.
- Author:
- Oliver Gierke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PartTreeMongoQuery
public PartTreeMongoQuery(MongoQueryMethod method,
MongoOperations mongoOperations)
- Creates a new
PartTreeMongoQuery
from the given QueryMethod
and MongoTemplate
.
- Parameters:
method
- template
-
getTree
public org.springframework.data.repository.query.parser.PartTree getTree()
- Returns:
- the tree
createQuery
protected Query createQuery(ConvertingParameterAccessor accessor)
- Description copied from class:
AbstractMongoQuery
- Create a
Query
instance using the given ParameterAccessor
- Specified by:
createQuery
in class AbstractMongoQuery
- Returns:
Copyright © 2011. All Rights Reserved.