Interface BinaryPersistenceFoundation<F extends BinaryPersistenceFoundation<?>>
- All Superinterfaces:
ByteOrderTargeting<F>
,ByteOrderTargeting.Mutable<F>
,Cloneable<PersistenceFoundation<Binary,F>>
,PersistenceDataTypeHolder<Binary>
,PersistenceFoundation<Binary,F>
- All Known Subinterfaces:
EmbeddedStorageConnectionFoundation<F>
- All Known Implementing Classes:
BinaryPersistenceFoundation.Default
,EmbeddedStorageConnectionFoundation.Default
public interface BinaryPersistenceFoundation<F extends BinaryPersistenceFoundation<?>> extends PersistenceFoundation<Binary,F>
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
BinaryPersistenceFoundation.Default<F extends BinaryPersistenceFoundation.Default<?>>
Nested classes/interfaces inherited from interface one.microstream.persistence.types.ByteOrderTargeting
ByteOrderTargeting.Mutable<T extends ByteOrderTargeting.Mutable<?>>
-
Method Summary
Modifier and Type Method Description BinaryPersistenceFoundation<F>
Clone()
This method creates a new instance of the sameClass
, specified by, of the instance on which this method is called.PersistenceManager<Binary>
createPersistenceManager()
XTable<String,BinaryValueSetter>
getCustomTranslatorLookup()
XEnum<BinaryValueTranslatorKeyBuilder>
getTranslatorKeyBuilders()
BinaryValueTranslatorMappingProvider
getValueTranslatorMappingProvider()
BinaryValueTranslatorProvider
getValueTranslatorProvider()
static BinaryPersistenceFoundation<?>
New()
F
setCustomTranslatorLookup(XTable<String,BinaryValueSetter> customTranslatorLookup)
F
setTranslatorKeyBuilders(XEnum<BinaryValueTranslatorKeyBuilder> translatorKeyBuilders)
F
setValueTranslatorMappingProvider(BinaryValueTranslatorMappingProvider valueTranslatorMappingProvider)
F
setValueTranslatorProvider(BinaryValueTranslatorProvider valueTranslatorProvider)
Methods inherited from interface one.microstream.persistence.types.ByteOrderTargeting
getTargetByteOrder, isByteOrderMismatch
Methods inherited from interface one.microstream.persistence.types.ByteOrderTargeting.Mutable
setTargetByteOrder
Methods inherited from interface one.microstream.persistence.types.PersistenceDataTypeHolder
dataType
Methods inherited from interface one.microstream.persistence.types.PersistenceFoundation
customTypeHandlerRegistryEnsurer, customTypeHandlers, customTypeInstantiators, executeTypeHandlerRegistration, getAbstractTypeHandlerSearcher, getBufferSizeProvider, getBuilderCreator, getClassLoaderProvider, getContextDispatcher, getCustomTypeHandlerRegistry, getCustomTypeHandlerRegistryEnsurer, getFieldEvaluatorCollection, getFieldEvaluatorEnum, getFieldEvaluatorPersistable, getFieldEvaluatorPersister, getFieldFixedLengthResolver, getInstanceDispatcherLogic, getInstantiator, getInstantiatorProvider, getLambdaTypeRecognizer, getLegacyMemberMatchingProvider, getLegacyTypeHandlerCreator, getLegacyTypeHandlingListener, getLegacyTypeMapper, getLegacyTypeMappingResultor, getObjectIdProvider, getObjectManager, getObjectRegistry, getPersistenceSource, getPersistenceTarget, getPersister, getRefactoringCurrentMemberIdentifierBuilders, getRefactoringLegacyMemberIdentifierBuilders, getRefactoringLegacyTypeIdentifierBuilders, getRefactoringMappingProvider, getReferenceFieldEagerEvaluator, getRegistererCreator, getRootReferenceProvider, getRootResolverProvider, getRootsProvider, getSizedArrayLengthController, getStorerCreator, getTypeAnalyzer, getTypeDefinitionCreator, getTypeDescriptionResolverProvider, getTypeDictionaryAssembler, getTypeDictionaryBuilder, getTypeDictionaryCompiler, getTypeDictionaryCreator, getTypeDictionaryExporter, getTypeDictionaryLoader, getTypeDictionaryManager, getTypeDictionaryParser, getTypeDictionaryProvider, getTypeDictionaryStorer, getTypeEvaluatorPersistable, getTypeHandlerCreator, getTypeHandlerEnsurer, getTypeHandlerManager, getTypeHandlerProvider, getTypeHandlerRegistry, getTypeIdProvider, getTypeLineageCreator, getTypeManager, getTypeMismatchValidator, getTypeNameMapper, getTypeRegistry, getTypeResolver, getTypeSimilarity, getUnreachableTypeHandlerCreator, registerCustomInstantiator, registerCustomTypeHandler, registerCustomTypeHandlers, registerCustomTypeHandlers, registerCustomTypeHandlers, setAbstractTypeHandlerSearcher, setBufferSizeProvider, setBuilderCreator, setClassLoaderProvider, setContextDispatcher, setCustomTypeHandlerRegistryEnsurer, setFieldEvaluatorCollection, setFieldEvaluatorEnum, setFieldEvaluatorPersistable, setFieldEvaluatorPersister, setFieldFixedLengthResolver, setIdProvider, setInstanceDispatcher, setInstantiator, setInstantiatorProvider, setLambdaTypeRecognizer, setLegacyMemberMatchingProvider, setLegacyTypeHandlerCreator, setLegacyTypeHandlingListener, setLegacyTypeMapper, setLegacyTypeMappingResultor, setObjectIdProvider, setObjectManager, setObjectRegistry, setPersistenceChannel, setPersistenceSource, setPersistenceTarget, setPersister, setRefactoringCurrentMemberIdentifierBuilders, setRefactoringLegacyMemberIdentifierBuilders, setRefactoringLegacyTypeIdentifierBuilders, setRefactoringMappingProvider, setReferenceFieldEagerEvaluator, setRegistererCreator, setRootReferenceProvider, setRootResolverProvider, setRootsProvider, setSizedArrayLengthController, setStorerCreator, setTypeAnalyzer, setTypeDescriptionBuilder, setTypeDescriptionResolverProvider, setTypeDictionaryAssembler, setTypeDictionaryBuilder, setTypeDictionaryCompiler, setTypeDictionaryCreator, setTypeDictionaryExporter, setTypeDictionaryIoHandler, setTypeDictionaryIoHandling, setTypeDictionaryLoader, setTypeDictionaryManager, setTypeDictionaryParser, setTypeDictionaryProvider, setTypeDictionaryStorer, setTypeEvaluatorPersistable, setTypeHandlerCreator, setTypeHandlerCreatorLookup, setTypeHandlerManager, setTypeHandlerProvider, setTypeHandlerRegistry, setTypeIdProvider, setTypeLineageCreator, setTypeManager, setTypeMismatchValidator, setTypeNameMapper, setTypeRegistry, setTypeResolver, setTypeSimilarity, setUnreachableTypeHandlerCreator
-
Method Details
-
Clone
BinaryPersistenceFoundation<F> Clone()Description copied from interface:Cloneable
This method creates a new instance of the sameClass
, specified by, of the instance on which this method is called. Whatever initializations required to create a functional new instance are performed.However, this method does NOT create a copy of the current instance. (A common mistake is to confuse cloning with copying: cloning creates a duplicate with only equal initial state while copying creates a duplicate with equal full state. Example: a clone of an adult would not be an identical adult, but just an embryo with equal DNA. A state-wise identical adult would be a copy, not a clone.)
This method is effectively a constructor called on an existing instance. The use case of such a method is to eliminate the need to redundantly pass a second instance or constructor if a clone of an instance is needed.
To indicate the constructor-like character of this method, the pattern of starting the name with a capital letter is applied to this method (and to workaround the botch-job protected method the moronic JDK developers hardcoded in Object.)
- Specified by:
Clone
in interfaceCloneable<F extends BinaryPersistenceFoundation<?>>
- Specified by:
Clone
in interfacePersistenceFoundation<Binary,F extends BinaryPersistenceFoundation<?>>
- Returns:
- a clone of this instance.
-
getCustomTranslatorLookup
XTable<String,BinaryValueSetter> getCustomTranslatorLookup() -
getTranslatorKeyBuilders
XEnum<BinaryValueTranslatorKeyBuilder> getTranslatorKeyBuilders() -
getValueTranslatorMappingProvider
BinaryValueTranslatorMappingProvider getValueTranslatorMappingProvider() -
getValueTranslatorProvider
BinaryValueTranslatorProvider getValueTranslatorProvider() -
setCustomTranslatorLookup
-
setTranslatorKeyBuilders
-
setValueTranslatorProvider
-
setValueTranslatorMappingProvider
F setValueTranslatorMappingProvider(BinaryValueTranslatorMappingProvider valueTranslatorMappingProvider) -
createPersistenceManager
PersistenceManager<Binary> createPersistenceManager()- Specified by:
createPersistenceManager
in interfacePersistenceFoundation<Binary,F extends BinaryPersistenceFoundation<?>>
-
New
-