Spring Data Document

org.springframework.data.mongodb.repository
Class PartTreeMongoQuery

java.lang.Object
  extended by org.springframework.data.mongodb.repository.AbstractMongoQuery
      extended by 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

Constructor Summary
PartTreeMongoQuery(org.springframework.data.mongodb.repository.MongoQueryMethod method, MongoTemplate template)
          Creates a new PartTreeMongoQuery from the given QueryMethod and MongoTemplate.
 
Method Summary
protected  Query createQuery(ConvertingParameterAccessor accessor)
          Create a Query instance using the given ParameterAccessor
 org.springframework.data.repository.query.parser.PartTree getTree()
           
 
Methods inherited from class org.springframework.data.mongodb.repository.AbstractMongoQuery
execute, getQueryMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 -
Method Detail

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:

Spring Data Document

Copyright © 2011. All Rights Reserved.