Package de.caluga.morphium.driver
Klasse MorphiumCursor
java.lang.Object
de.caluga.morphium.driver.MorphiumCursor
- Bekannte direkte Unterklassen:
MorphiumCursorAdapter,SingleBatchCursor,SingleElementCursor,SingleMongoConnectionCursor
public abstract class MorphiumCursor
extends Object
implements Iterable<Map<String,Object>>, Iterator<Map<String,Object>>
Morphiums representation of the mongodb getMongoCursor()
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungabstract voidahead(int skip) abstract intabstract voidback(int jump) abstract voidclose()getAll()getBatch()intabstract MongoConnectionabstract intlonggetDb()abstract booleanhasNext()next()voidvoidsetBatchSize(int batchSize) voidsetCollection(String collection) voidsetCursorId(long cursorId) voidVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden java.lang.Iterable
forEach, iterator, spliteratorVon Schnittstelle geerbte Methoden java.util.Iterator
forEachRemaining, remove
-
Konstruktordetails
-
MorphiumCursor
public MorphiumCursor()
-
-
Methodendetails
-
getServer
-
setServer
-
getDb
-
setDb
-
getCollection
-
setCollection
-
getBatchSize
public int getBatchSize() -
setBatchSize
public void setBatchSize(int batchSize) -
getCursorId
public long getCursorId() -
setCursorId
public void setCursorId(long cursorId) -
getBatch
-
setBatch
-
hasNext
public abstract boolean hasNext() -
next
-
close
public abstract void close() -
available
public abstract int available() -
getAll
- Löst aus:
MorphiumDriverException
-
ahead
- Löst aus:
MorphiumDriverException
-
back
- Löst aus:
MorphiumDriverException
-
getCursor
public abstract int getCursor() -
getConnection
-