Class BinaryPersistenceFoundation.Default<F extends BinaryPersistenceFoundation.Default<?>>
- All Implemented Interfaces:
BinaryPersistenceFoundation<F>
,ByteOrderTargeting<F>
,ByteOrderTargeting.Mutable<F>
,PersistenceDataTypeHolder<Binary>
,PersistenceFoundation<Binary,F>
,Unpersistable
,Cloneable<PersistenceFoundation<Binary,F>>
,InstanceDispatcher
- Direct Known Subclasses:
EmbeddedStorageConnectionFoundation.Default
- Enclosing interface:
- BinaryPersistenceFoundation<F extends BinaryPersistenceFoundation<?>>
public static class BinaryPersistenceFoundation.Default<F extends BinaryPersistenceFoundation.Default<?>> extends PersistenceFoundation.Default<Binary,F> implements BinaryPersistenceFoundation<F>
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.persistence.binary.types.BinaryPersistenceFoundation
BinaryPersistenceFoundation.Default<F extends BinaryPersistenceFoundation.Default<?>>
Nested classes/interfaces inherited from interface one.microstream.persistence.types.ByteOrderTargeting
ByteOrderTargeting.Mutable<T extends ByteOrderTargeting.Mutable<?>>
Nested classes/interfaces inherited from interface one.microstream.util.InstanceDispatcher
InstanceDispatcher.Default
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceFoundation
PersistenceFoundation.Default<D,F extends PersistenceFoundation.Default<D,?>>
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
Modifier and Type Method Description BinaryPersistenceFoundation.Default<F>
Clone()
This method creates a new instance of the sameClass
, specified by, of the instance on which this method is called.XTable<String,BinaryValueSetter>
getCustomTranslatorLookup()
XEnum<BinaryValueTranslatorKeyBuilder>
getTranslatorKeyBuilders()
BinaryValueTranslatorMappingProvider
getValueTranslatorMappingProvider()
BinaryValueTranslatorProvider
getValueTranslatorProvider()
F
setCustomTranslatorLookup(XTable<String,BinaryValueSetter> customTranslatorLookup)
F
setTranslatorKeyBuilders(XEnum<BinaryValueTranslatorKeyBuilder> translatorKeyBuilders)
F
setValueTranslatorMappingProvider(BinaryValueTranslatorMappingProvider valueTranslatorMapping)
F
setValueTranslatorProvider(BinaryValueTranslatorProvider valueTranslatorProvider)
Methods inherited from class one.microstream.persistence.types.PersistenceFoundation.Default
createPersistenceManager, customTypeHandlerRegistryEnsurer, customTypeHandlers, customTypeInstantiators, dataType, 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, getTargetByteOrder, 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, setTargetByteOrder, setTypeAnalyzer, setTypeDescriptionBuilder, setTypeDescriptionResolverProvider, setTypeDictionaryAssembler, setTypeDictionaryBuilder, setTypeDictionaryCompiler, setTypeDictionaryCreator, setTypeDictionaryExporter, setTypeDictionaryIoHandling, setTypeDictionaryLoader, setTypeDictionaryManager, setTypeDictionaryParser, setTypeDictionaryProvider, setTypeDictionaryStorer, setTypeEvaluatorPersistable, setTypeHandlerCreator, setTypeHandlerCreatorLookup, setTypeHandlerManager, setTypeHandlerProvider, setTypeHandlerRegistry, setTypeIdProvider, setTypeLineageCreator, setTypeManager, setTypeMismatchValidator, setTypeNameMapper, setTypeRegistry, setTypeResolver, setTypeSimilarity, setUnreachableTypeHandlerCreator
Methods inherited from class one.microstream.util.InstanceDispatcher.Default
setInstanceDispatcherLogic
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface one.microstream.persistence.binary.types.BinaryPersistenceFoundation
createPersistenceManager
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
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
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 interfaceBinaryPersistenceFoundation<F extends BinaryPersistenceFoundation.Default<?>>
- Specified by:
Clone
in interfaceCloneable<F extends BinaryPersistenceFoundation.Default<?>>
- Specified by:
Clone
in interfacePersistenceFoundation<Binary,F extends BinaryPersistenceFoundation.Default<?>>
- Overrides:
Clone
in classPersistenceFoundation.Default<Binary,F extends BinaryPersistenceFoundation.Default<?>>
- Returns:
- a clone of this instance.
-
getCustomTranslatorLookup
- Specified by:
getCustomTranslatorLookup
in interfaceBinaryPersistenceFoundation<F extends BinaryPersistenceFoundation.Default<?>>
-
getTranslatorKeyBuilders
- Specified by:
getTranslatorKeyBuilders
in interfaceBinaryPersistenceFoundation<F extends BinaryPersistenceFoundation.Default<?>>
-
getValueTranslatorMappingProvider
- Specified by:
getValueTranslatorMappingProvider
in interfaceBinaryPersistenceFoundation<F extends BinaryPersistenceFoundation.Default<?>>
-
getValueTranslatorProvider
- Specified by:
getValueTranslatorProvider
in interfaceBinaryPersistenceFoundation<F extends BinaryPersistenceFoundation.Default<?>>
-
setCustomTranslatorLookup
- Specified by:
setCustomTranslatorLookup
in interfaceBinaryPersistenceFoundation<F extends BinaryPersistenceFoundation.Default<?>>
-
setTranslatorKeyBuilders
- Specified by:
setTranslatorKeyBuilders
in interfaceBinaryPersistenceFoundation<F extends BinaryPersistenceFoundation.Default<?>>
-
setValueTranslatorProvider
- Specified by:
setValueTranslatorProvider
in interfaceBinaryPersistenceFoundation<F extends BinaryPersistenceFoundation.Default<?>>
-
setValueTranslatorMappingProvider
public F setValueTranslatorMappingProvider(BinaryValueTranslatorMappingProvider valueTranslatorMapping)- Specified by:
setValueTranslatorMappingProvider
in interfaceBinaryPersistenceFoundation<F extends BinaryPersistenceFoundation.Default<?>>
-