org.springframework.data.document.mongodb.repository
Class AbstractMongoQuery.PagedExecution

java.lang.Object
  extended by org.springframework.data.document.mongodb.repository.AbstractMongoQuery.Execution
      extended by org.springframework.data.document.mongodb.repository.AbstractMongoQuery.PagedExecution
Enclosing class:
AbstractMongoQuery

 class AbstractMongoQuery.PagedExecution
extends AbstractMongoQuery.Execution

AbstractMongoQuery.Execution for pagination queries.

Author:
Oliver Gierke

Field Summary
private  Pageable pageable
           
 
Constructor Summary
AbstractMongoQuery.PagedExecution(Pageable pageable)
          Creates a new AbstractMongoQuery.PagedExecution.
 
Method Summary
(package private)  java.lang.Object execute(Query query)
           
private  DBCursor getCollectionCursor(java.lang.String collectionName, DBObject query)
           
 
Methods inherited from class org.springframework.data.document.mongodb.repository.AbstractMongoQuery.Execution
readCollection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pageable

private final Pageable pageable
Constructor Detail

AbstractMongoQuery.PagedExecution

public AbstractMongoQuery.PagedExecution(Pageable pageable)
Creates a new AbstractMongoQuery.PagedExecution.

Parameters:
pageable -
Method Detail

execute

java.lang.Object execute(Query query)
Specified by:
execute in class AbstractMongoQuery.Execution

getCollectionCursor

private DBCursor getCollectionCursor(java.lang.String collectionName,
                                     DBObject query)