-
Terminally Deprecated ElementsElementDescriptionfor removal to be replaced by mutual indexingbecause this option is associated with legacy code only (see
OnlineIndexScrubber.ScrubbingPolicy.Builder.useLegacyScrubber(boolean)
).because allowing legacy code is temporary. After gaining confidence in the new code, the old code (and this function) will be deleted.
-
Deprecated ClassesClassDescription
-
Deprecated FieldsFieldDescriptionuse
IndexTypes.MAX_EVER_LONG
for compatibility with existing data orIndexTypes.MAX_EVER_TUPLE
for more flexibilityuseIndexTypes.MIN_EVER_LONG
for compatibility with existing data orIndexTypes.MIN_EVER_TUPLE
for more flexibility
-
Deprecated MethodsMethodDescriptionCall directly on
FDBDatabaseFactoryImpl
. This will be removed in a future release.Call directly onFDBDatabaseFactoryImpl
. This will be removed in a future release.in favor of setting the timer inFDBDatabase.openContext(FDBRecordContextConfig)
com.apple.foundationdb.record.provider.foundationdb.IndexingByRecords.splitIndexBuildRange(int, int) implementors should switch to usingExtendedDirectoryLayer.readReverse(FDBRecordContext, Long)
insteadcom.apple.foundationdb.record.provider.foundationdb.keyspace.KeySpace.list(FDBRecordContext, String) useKeySpace.listDirectory(FDBRecordContext, String)
insteaduseKeySpace.resolveFromKey(FDBRecordContext, Tuple)
insteaduseKeySpace.resolveFromKey(FDBRecordContext, Tuple)
insteadimplementors should switch to usingLocatableResolver.readReverse(FDBRecordContext, Long)
insteadimplementors should switch to usingScopedDirectoryLayer.readReverse(FDBRecordContext, Long)
insteadimplementors should switch to usingScopedInterningLayer.readReverse(FDBRecordContext, Long)
insteaduseOnlineIndexer.IndexingPolicy.Builder
instead. Example:setIndexingPolicy(OnlineIndexer.IndexingPolicy.newBuilder() .setIfDisabled(OnlineIndexer.IndexingPolicy.DesiredAction.CONTINUE) .setIfWriteOnly(OnlineIndexer.IndexingPolicy.DesiredAction.CONTINUE) .setIfMismatchPrevious(OnlineIndexer.IndexingPolicy.DesiredAction.REBUILD) .setIfReadable(OnlineIndexer.IndexingPolicy.DesiredAction.ERROR));
For backward compatibility, calling this function in any order will override theOnlineIndexer.IndexingPolicy.Builder
methods: setIfDisabled, setIfWriteOnly, setIfMismatchPrevious, setIfReadablefor removal to be replaced by mutual indexingbecause this option is associated with legacy code only (seeOnlineIndexScrubber.ScrubbingPolicy.Builder.useLegacyScrubber(boolean)
).because allowing legacy code is temporary. After gaining confidence in the new code, the old code (and this function) will be deleted.useCOUNT
type indexes insteaduseCOUNT
type indexes instead
-
Deprecated ConstructorsConstructorDescription
-
Deprecated Enum Constants