Class InMemoryCursor

java.lang.Object
de.bwaldvogel.mongo.backend.Cursor
de.bwaldvogel.mongo.backend.InMemoryCursor

public class InMemoryCursor
extends Cursor
  • Field Summary

    Fields inherited from class de.bwaldvogel.mongo.backend.Cursor

    id
  • Constructor Summary

    Constructors 
    Constructor Description
    InMemoryCursor​(long cursorId, java.util.List<Document> remainingDocuments)  
  • Method Summary

    Modifier and Type Method Description
    boolean isEmpty()  
    java.util.List<Document> takeDocuments​(int numberToReturn)  

    Methods inherited from class de.bwaldvogel.mongo.backend.Cursor

    getId, toString

    Methods inherited from class java.lang.Object

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