-
Terminally Deprecated ElementsElementDescriptioncom.apple.foundationdb.record.provider.foundationdb.FDBRecordStore.HEADER_USER_FIELDS_FORMAT_VERSIONcom.apple.foundationdb.record.provider.foundationdb.FDBRecordStore.RECORD_COUNT_ADDED_FORMAT_VERSIONThis is deprecated, and instead, one should use
FDBRecordStoreBase.BaseBuilder.setFormatVersion(FormatVersion)
.Instead, provide aFDBRecordStore
orFDBRecordStore.Builder
with an appropriate format version toOnlineIndexOperationBaseBuilder.setRecordStore(FDBRecordStore)
orOnlineIndexOperationBaseBuilder.setRecordStoreBuilder(FDBRecordStore.Builder)
respectivelybecause 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.
-
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 flexibilitycom.apple.foundationdb.record.provider.foundationdb.FDBRecordStore.HEADER_USER_FIELDS_FORMAT_VERSION
-
Deprecated MethodsMethodDescriptionCall directly on
FDBDatabaseFactoryImpl
. This will be removed in a future release.Call directly onFDBDatabaseFactoryImpl
. This will be removed in a future release.This is deprecated, and instead, one should useFDBRecordStoreBase.BaseBuilder.setFormatVersion(FormatVersion)
.in favor of setting the timer inFDBDatabase.openContext(FDBRecordContextConfig)
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, setIfReadableInstead, provide aFDBRecordStore
orFDBRecordStore.Builder
with an appropriate format version toOnlineIndexOperationBaseBuilder.setRecordStore(FDBRecordStore)
orOnlineIndexOperationBaseBuilder.setRecordStoreBuilder(FDBRecordStore.Builder)
respectivelybecause 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
FDBRecordStoreBase.BaseBuilder.getFormatVersionEnum()