
public class OLuceneIndexCursor extends Object implements OIndexCursor
| Constructor and Description |
|---|
OLuceneIndexCursor(OLuceneResultSet resultSet,
Object key) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
OIdentifiable |
next() |
Map.Entry<Object,OIdentifiable> |
nextEntry()
Returns nextEntry element in subset of index data which should be iterated by given cursor.
|
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, waitforEachRemainingpublic OLuceneIndexCursor(OLuceneResultSet resultSet, Object key)
public Map.Entry<Object,OIdentifiable> nextEntry()
OIndexCursornextEntry in interface OIndexCursornull if all data are
iterated.public Set<OIdentifiable> toValues()
OIndexCursortoValues in interface OIndexCursorpublic Set<Map.Entry<Object,OIdentifiable>> toEntries()
OIndexCursortoEntries in interface OIndexCursorpublic Set<Object> toKeys()
OIndexCursortoKeys in interface OIndexCursorpublic void setPrefetchSize(int prefetchSize)
OIndexCursorsetPrefetchSize in interface OIndexCursorprefetchSize - Number of records to prefetch. -1 = prefetch using default settings.public boolean hasNext()
hasNext in interface Iterator<OIdentifiable>public OIdentifiable next()
next in interface Iterator<OIdentifiable>public void remove()
remove in interface Iterator<OIdentifiable>Copyright © 2009–2025 OrientDB. All rights reserved.