Class QueryResult

java.lang.Object
de.bwaldvogel.mongo.backend.QueryResult
All Implemented Interfaces:
java.lang.Iterable<Document>

public class QueryResult
extends java.lang.Object
implements java.lang.Iterable<Document>
  • Constructor Summary

    Constructors 
    Constructor Description
    QueryResult()  
    QueryResult​(java.lang.Iterable<Document> documents)  
    QueryResult​(java.lang.Iterable<Document> documents, long cursorId)  
    QueryResult​(java.lang.Iterable<Document> documents, Cursor cursor)  
  • Method Summary

    Modifier and Type Method Description
    java.util.List<Document> collectDocuments()  
    long getCursorId()  
    java.util.Iterator<Document> iterator()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator