Package de.bwaldvogel.mongo.backend
Class InMemoryCursor
java.lang.Object
de.bwaldvogel.mongo.backend.Cursor
de.bwaldvogel.mongo.backend.InMemoryCursor
public class InMemoryCursor extends Cursor
-
Field Summary
-
Constructor Summary
Constructors Constructor Description InMemoryCursor(long cursorId, java.util.List<Document> remainingDocuments) -
Method Summary
Modifier and Type Method Description booleanisEmpty()java.util.List<Document>takeDocuments(int numberToReturn)
-
Constructor Details
-
Method Details
-
isEmpty
public boolean isEmpty() -
takeDocuments
- Specified by:
takeDocumentsin classCursor
-