Class LuceneIndexScrubbingToolsMissing
java.lang.Object
com.apple.foundationdb.record.provider.foundationdb.indexes.ValueIndexScrubbingToolsMissing
com.apple.foundationdb.record.lucene.LuceneIndexScrubbingToolsMissing
- All Implemented Interfaces:
IndexScrubbingTools<FDBStoredRecord<Message>>
Index Scrubbing Toolbox for a Lucene index maintainer. Scrub missing value index entries - i.e. detect record(s) that should
have been indexed, but cannot be found in the segment index.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumProvide a lucene specific reason for detecting a "missing" index entry.Nested classes/interfaces inherited from interface com.apple.foundationdb.record.provider.foundationdb.IndexScrubbingTools
IndexScrubbingTools.Issue, IndexScrubbingTools.ScrubbingType -
Constructor Summary
ConstructorsConstructorDescriptionLuceneIndexScrubbingToolsMissing(LucenePartitioner partitioner, FDBDirectoryManager directoryManager) -
Method Summary
Modifier and TypeMethodDescriptionhandleOneItem(FDBRecordStore store, RecordCursorResult<FDBStoredRecord<Message>> result) voidpresetCommonParams(Index index, boolean allowRepair, boolean isSynthetic, Collection<RecordType> types) Methods inherited from class com.apple.foundationdb.record.provider.foundationdb.indexes.ValueIndexScrubbingToolsMissing
getCursor, getKeyFromCursorResult, indexEntriesForRecord
-
Constructor Details
-
LuceneIndexScrubbingToolsMissing
public LuceneIndexScrubbingToolsMissing(@Nonnull LucenePartitioner partitioner, @Nonnull FDBDirectoryManager directoryManager)
-
-
Method Details
-
presetCommonParams
public void presetCommonParams(Index index, boolean allowRepair, boolean isSynthetic, Collection<RecordType> types) - Specified by:
presetCommonParamsin interfaceIndexScrubbingTools<FDBStoredRecord<Message>>- Overrides:
presetCommonParamsin classValueIndexScrubbingToolsMissing
-
handleOneItem
@Nullable public CompletableFuture<IndexScrubbingTools.Issue> handleOneItem(FDBRecordStore store, RecordCursorResult<FDBStoredRecord<Message>> result) - Specified by:
handleOneItemin interfaceIndexScrubbingTools<FDBStoredRecord<Message>>- Overrides:
handleOneItemin classValueIndexScrubbingToolsMissing
-