|
Spring Data Document | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.data.mongodb.repository.query.AbstractMongoQuery org.springframework.data.mongodb.repository.query.PartTreeMongoQuery
public class PartTreeMongoQuery
RepositoryQuery
implementation for Mongo.
Constructor Summary | |
---|---|
PartTreeMongoQuery(MongoQueryMethod method,
MongoOperations mongoOperations)
Creates a new PartTreeMongoQuery from the given QueryMethod and MongoTemplate . |
Method Summary | |
---|---|
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. |
Methods inherited from class org.springframework.data.mongodb.repository.query.AbstractMongoQuery |
---|
execute, getQueryMethod |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PartTreeMongoQuery(MongoQueryMethod method, MongoOperations mongoOperations)
PartTreeMongoQuery
from the given QueryMethod
and MongoTemplate
.
method
- must not be null.template
- must not be null.Method Detail |
---|
public org.springframework.data.repository.query.parser.PartTree getTree()
PartTree
backing the query.
protected Query createQuery(ConvertingParameterAccessor accessor)
AbstractMongoQuery
Query
instance using the given ParameterAccessor
createQuery
in class AbstractMongoQuery
accessor
- must not be null.
protected Query createCountQuery(ConvertingParameterAccessor accessor)
AbstractMongoQuery
Query
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 AbstractMongoQuery
accessor
- must not be null.
|
Spring Data Document | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |