T - public interface Cursor<T> extends Iterator<T>, Closeable
Cursor provides a lazy loading abstraction for fetching documents.| Modifier and Type | Interface and Description |
|---|---|
static class |
Cursor.State |
| Modifier and Type | Method and Description |
|---|---|
Serializable |
getCursorMark()
Get the current set cursorMark
|
long |
getPosition() |
boolean |
isClosed() |
boolean |
isOpen() |
Cursor<T> |
open()
Opens the cursor.
|
forEachRemaining, hasNext, next, remove@Nullable Serializable getCursorMark()
Cursor<T> open()
Cursor.State.READY cursors can be opened.long getPosition()
boolean isOpen()
Cursor.State.OPENboolean isClosed()
Cursor.State.CLOSEDCopyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.