public interface Cursor extends java.util.Iterator<DBObject>, java.io.Closeable
Modifier and Type | Method and Description |
---|---|
void |
close()
Terminates this cursor on the server.
|
long |
getCursorId()
Gets the server's identifier for this Cursor.
|
ServerAddress |
getServerAddress()
Gets the address of the server that data is pulled from.
|
long getCursorId()
ServerAddress getServerAddress()
void close()
close
in interface java.lang.AutoCloseable
close
in interface java.io.Closeable