
public abstract class OIndexAbstractCursor extends Object implements OIndexCursor
| Modifier and Type | Field and Description |
|---|---|
protected int |
prefetchSize |
| Constructor and Description |
|---|
OIndexAbstractCursor() |
| Modifier and Type | Method and Description |
|---|---|
int |
getPrefetchSize() |
boolean |
hasNext() |
OIdentifiable |
next() |
void |
remove() |
void |
setPrefetchSize(int prefetchSize)
Set number of records to fetch for the next call to next() or nextEntry().
|
Set<Map.Entry<Object,OIdentifiable>> |
toEntries()
Accumulates and returns all entries of index inside of data subset of cursor.
|
Set<Object> |
toKeys()
Accumulates and returns all keys of index inside of data subset of cursor.
|
Set<OIdentifiable> |
toValues()
Accumulates and returns all values of index inside of data subset of cursor.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnextEntryforEachRemainingpublic Set<OIdentifiable> toValues()
OIndexCursortoValues in interface OIndexCursorpublic Set<Map.Entry<Object,OIdentifiable>> toEntries()
OIndexCursortoEntries in interface OIndexCursorpublic Set<Object> toKeys()
OIndexCursortoKeys in interface OIndexCursorpublic boolean hasNext()
hasNext in interface Iterator<OIdentifiable>public OIdentifiable next()
next in interface Iterator<OIdentifiable>public void remove()
remove in interface Iterator<OIdentifiable>public int getPrefetchSize()
public void setPrefetchSize(int prefetchSize)
OIndexCursorsetPrefetchSize in interface OIndexCursorprefetchSize - Number of records to prefetch. -1 = prefetch using default settings.Copyright © 2009–2025 OrientDB. All rights reserved.