Interface Cursor<T>
- Type Parameters:
T-
- All Superinterfaces:
AutoCloseable,Closeable,Iterator<T>
- All Known Implementing Classes:
DelegatingCursor
Cursor provides a lazy loading abstraction for fetching documents.-
Method Details
-
getCursorMark
Get the current set cursorMark- Returns:
-
open
Opens the cursor.
OnlyCursor.State.READYcursors can be opened.- Returns:
-
getPosition
long getPosition()- Returns:
- the current position starting a zero.
-
isOpen
boolean isOpen()- Returns:
- true if
Cursor.State.OPEN
-
isClosed
boolean isClosed()- Returns:
- true if
Cursor.State.CLOSED
-