org.springframework.data.mongodb.repository
Class PartTreeMongoQuery
java.lang.Object
org.springframework.data.mongodb.repository.AbstractMongoQuery
org.springframework.data.mongodb.repository.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(org.springframework.data.mongodb.repository.MongoQueryMethod method,
MongoTemplate template)
- 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.