Package de.caluga.morphium.driver
Class SingleElementCursor
java.lang.Object
de.caluga.morphium.driver.MorphiumCursor
de.caluga.morphium.driver.SingleElementCursor
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.caluga.morphium.driver.MorphiumCursor
getBatchSize, getCollection, getCursorId, getDb, getServer, setBatch, setBatchSize, setCollection, setCursorId, setDb, setServerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
SingleElementCursor
-
-
Method Details
-
getBatch
- Overrides:
getBatchin classMorphiumCursor
-
hasNext
public boolean hasNext() -
next
-
close
public void close()- Specified by:
closein classMorphiumCursor
-
available
public int available()- Specified by:
availablein classMorphiumCursor
-
getAll
- Specified by:
getAllin classMorphiumCursor- Throws:
MorphiumDriverException
-
ahead
- Specified by:
aheadin classMorphiumCursor- Throws:
MorphiumDriverException
-
back
- Specified by:
backin classMorphiumCursor- Throws:
MorphiumDriverException
-
getCursor
public int getCursor()- Specified by:
getCursorin classMorphiumCursor
-
getConnection
- Specified by:
getConnectionin classMorphiumCursor
-
iterator
-