|
Spring Data MongoDB | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 |
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 PartTree getTree()
PartTree backing the query.
protected Query createQuery(ConvertingParameterAccessor accessor)
AbstractMongoQueryQuery instance using the given ParameterAccessor
createQuery 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.
|
Spring Data MongoDB | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||