Class LuceneRecordCursor
java.lang.Object
com.apple.foundationdb.record.lucene.LuceneRecordCursor
- All Implemented Interfaces:
BaseCursor<IndexEntry>,RecordCursor<IndexEntry>,AutoCloseable
This class is a Record Cursor implementation for Lucene queries.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAn IndexEntry based off a Lucene ScoreDoc.Nested classes/interfaces inherited from interface com.apple.foundationdb.record.RecordCursor
RecordCursor.ContinuationConvertor, RecordCursor.NoNextReason -
Method Summary
Modifier and TypeMethodDescriptionbooleanaccept(RecordCursorVisitor visitor) voidclose()booleanisClosed()onNext()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.apple.foundationdb.record.RecordCursor
asIterator, asList, asList, asStream, asStream, filter, filterAsync, filterAsyncInstrumented, filterAsyncInstrumented, filterInstrumented, filterInstrumented, first, forEach, forEachAsync, forEachResult, forEachResultAsync, getCount, getNext, limitRowsTo, map, mapEffect, mapEffect, mapPipelined, mapResult, reduce, reduce, skip, skipThenLimit
-
Method Details
-
onNext
- Specified by:
onNextin interfaceRecordCursor<IndexEntry>
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceRecordCursor<IndexEntry>
-
isClosed
public boolean isClosed()- Specified by:
isClosedin interfaceRecordCursor<IndexEntry>
-
getExecutor
- Specified by:
getExecutorin interfaceRecordCursor<IndexEntry>
-
accept
- Specified by:
acceptin interfaceRecordCursor<IndexEntry>
-