Package de.caluga.morphium.driver
Class MorphiumCursorAdapter
- java.lang.Object
-
- de.caluga.morphium.driver.MorphiumCursor
-
- de.caluga.morphium.driver.MorphiumCursorAdapter
-
-
Constructor Summary
Constructors Constructor Description MorphiumCursorAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidahead(int skip)intavailable()voidback(int jump)voidclose()List<Map<String,Object>>getAll()intgetCursor()booleanhasNext()Iterator<Map<String,Object>>iterator()Map<String,Object>next()-
Methods inherited from class de.caluga.morphium.driver.MorphiumCursor
getBatch, getBatchSize, getCollection, getConnection, getCursorId, getDb, getServer, setBatch, setBatchSize, setCollection, setCursorId, setDb, setServer
-
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
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
-
close
public void close()
- Specified by:
closein classMorphiumCursor
-
available
public int available()
- Specified by:
availablein classMorphiumCursor
-
getAll
public List<Map<String,Object>> getAll() throws MorphiumDriverException
- Specified by:
getAllin classMorphiumCursor- Throws:
MorphiumDriverException
-
ahead
public void ahead(int skip) throws MorphiumDriverException- Specified by:
aheadin classMorphiumCursor- Throws:
MorphiumDriverException
-
back
public void back(int jump) throws MorphiumDriverException- Specified by:
backin classMorphiumCursor- Throws:
MorphiumDriverException
-
getCursor
public int getCursor()
- Specified by:
getCursorin classMorphiumCursor
-
-