Class LuceneSpellCheckRecordCursor
java.lang.Object
com.apple.foundationdb.record.lucene.LuceneSpellCheckRecordCursor
- All Implemented Interfaces:
BaseCursor<IndexEntry>,RecordCursor<IndexEntry>,AutoCloseable
Cursor over Lucene spell-check query results.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.apple.foundationdb.record.RecordCursor
RecordCursor.ContinuationConvertor, RecordCursor.NoNextReason -
Constructor Summary
ConstructorsConstructorDescriptionLuceneSpellCheckRecordCursor(List<String> fields, String wordToSpellCheck, Executor executor, ScanProperties scanProperties, IndexMaintainerState state, Tuple groupingKey, Integer partitionId) -
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
-
Constructor Details
-
LuceneSpellCheckRecordCursor
public LuceneSpellCheckRecordCursor(@Nonnull List<String> fields, @Nonnull String wordToSpellCheck, @Nonnull Executor executor, ScanProperties scanProperties, @Nonnull IndexMaintainerState state, @Nullable Tuple groupingKey, @Nullable Integer partitionId)
-
-
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>
-