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
Serializable getCursorMark()
Cursor<T> open()
Cursor.State.REDAY
cursors can be opened.long getPosition()
boolean isOpen()
Cursor.State.OPEN
boolean isClosed()
Cursor.State.CLOSED
Copyright © 2011-2015–2017 Pivotal Software, Inc.. All rights reserved.