Class SerializerFoundation.Default<F extends SerializerFoundation.Default<?>>
- All Implemented Interfaces:
BinaryPersistenceFoundation<F>
,SerializerFoundation<F>
,ByteOrderTargeting<F>
,ByteOrderTargeting.Mutable<F>
,PersistenceDataTypeHolder<Binary>
,PersistenceFoundation<Binary,F>
,PersistenceTypeHandlerRegistration.Executor<Binary>
,Unpersistable
,Cloneable<PersistenceFoundation<Binary,F>>
,InstanceDispatcher
- Enclosing interface:
- SerializerFoundation<F extends SerializerFoundation<?>>
public static class SerializerFoundation.Default<F extends SerializerFoundation.Default<?>> extends BinaryPersistenceFoundation.Default<F> implements SerializerFoundation<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,?>>
Nested classes/interfaces inherited from interface one.microstream.persistence.binary.util.SerializerFoundation
SerializerFoundation.Default<F extends SerializerFoundation.Default<?>>
-
Method Summary
Methods inherited from class one.microstream.persistence.binary.types.BinaryPersistenceFoundation.Default
ensureCustomTranslatorLookup, ensureCustomTypeHandlerRegistry, ensureCustomTypeHandlerRegistryEnsurer, ensureFieldFixedLengthResolver, ensureLegacyTypeHandlerCreator, ensureRootReferenceProvider, ensureTranslatorKeyBuilders, ensureTypeHandlerCreator, ensureValueTranslatorMappingProvider, ensureValueTranslatorProvider, getCustomTranslatorLookup, getTranslatorKeyBuilders, getValueTranslatorMappingProvider, getValueTranslatorProvider, setCustomTranslatorLookup, setTranslatorKeyBuilders, setValueTranslatorMappingProvider, setValueTranslatorProvider
Methods inherited from class one.microstream.persistence.types.PersistenceFoundation.Default
$, customTypeHandlerRegistryEnsurer, customTypeHandlers, customTypeInstantiators, dataType, ensureAbstractTypeHandlerSearcher, ensureBufferSizeProvider, ensureClassLoaderProvider, ensureFieldEvaluatorCollection, ensureFieldEvaluatorEnum, ensureFieldEvaluatorPersistable, ensureFieldEvaluatorPersister, ensureInstantiator, ensureInstantiatorProvider, ensureLambdaTypeRecognizer, ensureLegacyMemberMatchingProvider, ensureLegacyTypeHandlingListener, ensureLegacyTypeMapper, ensureLegacyTypeMappingResultor, ensureObjectManager, ensureObjectRegistry, ensureObjectRetriever, ensurePersistenceSource, ensurePersistenceTarget, ensurePersister, ensureRefactoringCurrentMemberIdentifierBuilders, ensureRefactoringLegacyMemberIdentifierBuilders, ensureRefactoringLegacyTypeIdentifierBuilders, ensureRefactoringMappingProvider, ensureReferenceFieldEagerEvaluator, ensureRegistererCreator, ensureRootResolverProvider, ensureRootsProvider, ensureSizedArrayLengthController, ensureTargetByteOrder, ensureTypeAnalyzer, ensureTypeDefinitionCreator, ensureTypeDescriptionResolverProvider, ensureTypeDictionaryAssembler, ensureTypeDictionaryBuilder, ensureTypeDictionaryCompiler, ensureTypeDictionaryCreator, ensureTypeDictionaryExporter, ensureTypeDictionaryLoader, ensureTypeDictionaryParser, ensureTypeDictionaryProvider, ensureTypeDictionaryStorer, ensureTypeEvaluatorPersistable, ensureTypeHandlerEnsurer, ensureTypeHandlerManager, ensureTypeHandlerProvider, ensureTypeHandlerRegistry, ensureTypeLineageCreator, ensureTypeManager, ensureTypeMismatchValidator, ensureTypeNameMapper, ensureTypeRegistry, ensureTypeResolver, ensureTypeSimilarity, ensureUnreachableTypeHandlerCreator, 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, getStorerCreationObserver, 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, referenceTypeHandlerManager, registerCustomInstantiator, registerCustomTypeHandler, registerCustomTypeHandlers, registerCustomTypeHandlers, registerCustomTypeHandlers, setAbstractTypeHandlerSearcher, setBufferSizeProvider, setClassLoaderProvider, setCustomTypeHandlerRegistryEnsurer, setFieldEvaluatorCollection, setFieldEvaluatorEnum, setFieldEvaluatorPersistable, setFieldEvaluatorPersister, setFieldFixedLengthResolver, setIdProvider, setInstanceDispatcher, setInstantiator, setInstantiatorProvider, setLambdaTypeRecognizer, setLegacyMemberMatchingProvider, setLegacyTypeHandlerCreator, setLegacyTypeHandlingListener, setLegacyTypeMapper, setLegacyTypeMappingResultor, setObjectManager, setObjectRegistry, setPersistenceChannel, setPersistenceSource, setPersistenceTarget, setPersister, setRefactoringCurrentMemberIdentifierBuilders, setRefactoringLegacyMemberIdentifierBuilders, setRefactoringLegacyTypeIdentifierBuilders, setRefactoringMappingProvider, setReferenceFieldEagerEvaluator, setRegistererCreator, setRootReferenceProvider, setRootResolverProvider, setSizedArrayLengthController, setTargetByteOrder, setTypeAnalyzer, setTypeDescriptionBuilder, setTypeDescriptionResolverProvider, setTypeDictionaryAssembler, setTypeDictionaryBuilder, setTypeDictionaryCompiler, setTypeDictionaryCreator, setTypeDictionaryExporter, setTypeDictionaryIoHandling, setTypeDictionaryLoader, setTypeDictionaryParser, setTypeDictionaryProvider, setTypeDictionaryStorer, setTypeEvaluatorPersistable, setTypeHandlerCreator, setTypeHandlerCreatorLookup, setTypeHandlerManager, setTypeHandlerProvider, setTypeHandlerRegistry, setTypeLineageCreator, setTypeManager, setTypeMismatchValidator, setTypeNameMapper, setTypeRegistry, setTypeResolver, setTypeSimilarity, setUnreachableTypeHandlerCreator
Methods inherited from class one.microstream.util.InstanceDispatcher.Default
dispatch, 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
getCustomTranslatorLookup, getTranslatorKeyBuilders, getValueTranslatorMappingProvider, getValueTranslatorProvider, setCustomTranslatorLookup, setTranslatorKeyBuilders, setValueTranslatorMappingProvider, setValueTranslatorProvider
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.util.InstanceDispatcher
getInstanceDispatcherLogic, setInstanceDispatcherLogic
Methods inherited from interface one.microstream.persistence.types.PersistenceDataTypeHolder
dataType
Methods inherited from interface one.microstream.persistence.types.PersistenceFoundation
customTypeHandlerRegistryEnsurer, customTypeHandlers, customTypeInstantiators, getAbstractTypeHandlerSearcher, getBufferSizeProvider, getBuilderCreator, getClassLoaderProvider, getContextDispatcher, getCustomTypeHandlerRegistry, getCustomTypeHandlerRegistryEnsurer, getFieldEvaluatorCollection, getFieldEvaluatorEnum, getFieldEvaluatorPersistable, getFieldEvaluatorPersister, getFieldFixedLengthResolver, getInstantiator, getInstantiatorProvider, getLambdaTypeRecognizer, getLegacyMemberMatchingProvider, getLegacyTypeHandlerCreator, getLegacyTypeHandlingListener, getLegacyTypeMapper, getLegacyTypeMappingResultor, getObjectIdProvider, getObjectManager, getObjectRegistry, getPersistenceSource, getPersistenceTarget, getPersister, getRefactoringCurrentMemberIdentifierBuilders, getRefactoringLegacyMemberIdentifierBuilders, getRefactoringLegacyTypeIdentifierBuilders, getRefactoringMappingProvider, getReferenceFieldEagerEvaluator, getRegistererCreator, getRootReferenceProvider, getRootResolverProvider, getRootsProvider, getSizedArrayLengthController, getStorerCreationObserver, 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, setClassLoaderProvider, setCustomTypeHandlerRegistryEnsurer, setFieldEvaluatorCollection, setFieldEvaluatorEnum, setFieldEvaluatorPersistable, setFieldEvaluatorPersister, setFieldFixedLengthResolver, setIdProvider, setInstanceDispatcher, setInstantiator, setInstantiatorProvider, setLambdaTypeRecognizer, setLegacyMemberMatchingProvider, setLegacyTypeHandlerCreator, setLegacyTypeHandlingListener, setLegacyTypeMapper, setLegacyTypeMappingResultor, setObjectManager, setObjectRegistry, setPersistenceChannel, setPersistenceSource, setPersistenceTarget, setPersister, setRefactoringCurrentMemberIdentifierBuilders, setRefactoringLegacyMemberIdentifierBuilders, setRefactoringLegacyTypeIdentifierBuilders, setRefactoringMappingProvider, setReferenceFieldEagerEvaluator, setRegistererCreator, setRootReferenceProvider, setRootResolverProvider, setSizedArrayLengthController, setTypeAnalyzer, setTypeDescriptionBuilder, setTypeDescriptionResolverProvider, setTypeDictionaryAssembler, setTypeDictionaryBuilder, setTypeDictionaryCompiler, setTypeDictionaryCreator, setTypeDictionaryExporter, setTypeDictionaryIoHandler, setTypeDictionaryIoHandling, setTypeDictionaryLoader, setTypeDictionaryParser, setTypeDictionaryProvider, setTypeDictionaryStorer, setTypeEvaluatorPersistable, setTypeHandlerCreator, setTypeHandlerCreatorLookup, setTypeHandlerManager, setTypeHandlerProvider, setTypeHandlerRegistry, setTypeLineageCreator, setTypeManager, setTypeMismatchValidator, setTypeNameMapper, setTypeRegistry, setTypeResolver, setTypeSimilarity, setUnreachableTypeHandlerCreator
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeHandlerRegistration.Executor
executeTypeHandlerRegistration
-
Method Details
-
getSerializerTypeInfoStrategyCreator
- Specified by:
getSerializerTypeInfoStrategyCreator
in interfaceSerializerFoundation<F extends SerializerFoundation.Default<?>>
-
setSerializerTypeInfoStrategyCreator
public F setSerializerTypeInfoStrategyCreator(SerializerTypeInfoStrategyCreator serializerTypeInfoStrategyCreator)- Specified by:
setSerializerTypeInfoStrategyCreator
in interfaceSerializerFoundation<F extends SerializerFoundation.Default<?>>
-
getEntityTypes
- Specified by:
getEntityTypes
in interfaceSerializerFoundation<F extends SerializerFoundation.Default<?>>
-
setEntityTypes
- Specified by:
setEntityTypes
in interfaceSerializerFoundation<F extends SerializerFoundation.Default<?>>
-
registerEntityType
- Specified by:
registerEntityType
in interfaceSerializerFoundation<F extends SerializerFoundation.Default<?>>
-
registerEntityTypes
- Specified by:
registerEntityTypes
in interfaceSerializerFoundation<F extends SerializerFoundation.Default<?>>
-
registerEntityTypes
- Specified by:
registerEntityTypes
in interfaceSerializerFoundation<F extends SerializerFoundation.Default<?>>
-
setObjectIdProvider
- Specified by:
setObjectIdProvider
in interfacePersistenceFoundation<Binary,F extends SerializerFoundation.Default<?>>
- Overrides:
setObjectIdProvider
in classPersistenceFoundation.Default<Binary,F extends SerializerFoundation.Default<?>>
-
setTypeIdProvider
- Specified by:
setTypeIdProvider
in interfacePersistenceFoundation<Binary,F extends SerializerFoundation.Default<?>>
- Overrides:
setTypeIdProvider
in classPersistenceFoundation.Default<Binary,F extends SerializerFoundation.Default<?>>
-
setContextDispatcher
- Specified by:
setContextDispatcher
in interfacePersistenceFoundation<Binary,F extends SerializerFoundation.Default<?>>
- Overrides:
setContextDispatcher
in classPersistenceFoundation.Default<Binary,F extends SerializerFoundation.Default<?>>
-
setRootsProvider
- Specified by:
setRootsProvider
in interfacePersistenceFoundation<Binary,F extends SerializerFoundation.Default<?>>
- Overrides:
setRootsProvider
in classPersistenceFoundation.Default<Binary,F extends SerializerFoundation.Default<?>>
-
setStorerCreationObserver
- Specified by:
setStorerCreationObserver
in interfacePersistenceFoundation<Binary,F extends SerializerFoundation.Default<?>>
- Overrides:
setStorerCreationObserver
in classPersistenceFoundation.Default<Binary,F extends SerializerFoundation.Default<?>>
-
setStorerCreator
- Specified by:
setStorerCreator
in interfacePersistenceFoundation<Binary,F extends SerializerFoundation.Default<?>>
- Overrides:
setStorerCreator
in classPersistenceFoundation.Default<Binary,F extends SerializerFoundation.Default<?>>
-
setBuilderCreator
- Specified by:
setBuilderCreator
in interfacePersistenceFoundation<Binary,F extends SerializerFoundation.Default<?>>
- Overrides:
setBuilderCreator
in classPersistenceFoundation.Default<Binary,F extends SerializerFoundation.Default<?>>
-
setTypeDictionaryManager
- Specified by:
setTypeDictionaryManager
in interfacePersistenceFoundation<Binary,F extends SerializerFoundation.Default<?>>
- Overrides:
setTypeDictionaryManager
in classPersistenceFoundation.Default<Binary,F extends SerializerFoundation.Default<?>>
-
Clone
Description copied from interface:Cloneable
This method creates a new instance of the sameClass
, specified by <S>, 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
- Specified by:
Clone
in interfaceBinaryPersistenceFoundation<F extends SerializerFoundation.Default<?>>
- Specified by:
Clone
in interfaceCloneable<F extends SerializerFoundation.Default<?>>
- Specified by:
Clone
in interfacePersistenceFoundation<Binary,F extends SerializerFoundation.Default<?>>
- Specified by:
Clone
in interfaceSerializerFoundation<F extends SerializerFoundation.Default<?>>
- Overrides:
Clone
in classBinaryPersistenceFoundation.Default<F extends SerializerFoundation.Default<?>>
- Returns:
- a clone of this instance.
-
createPersistenceManager
- Specified by:
createPersistenceManager
in interfaceBinaryPersistenceFoundation<F extends SerializerFoundation.Default<?>>
- Specified by:
createPersistenceManager
in interfacePersistenceFoundation<Binary,F extends SerializerFoundation.Default<?>>
- Overrides:
createPersistenceManager
in classPersistenceFoundation.Default<Binary,F extends SerializerFoundation.Default<?>>
-
ensureEntityTypes
-
ensureSerializerTypeInfoStrategyCreator
-
ensureObjectIdProvider
- Overrides:
ensureObjectIdProvider
in classPersistenceFoundation.Default<Binary,F extends SerializerFoundation.Default<?>>
-
ensureTypeIdProvider
- Overrides:
ensureTypeIdProvider
in classPersistenceFoundation.Default<Binary,F extends SerializerFoundation.Default<?>>
-
ensureContextDispatcher
- Overrides:
ensureContextDispatcher
in classPersistenceFoundation.Default<Binary,F extends SerializerFoundation.Default<?>>
-
ensureRootsProviderInternal
- Overrides:
ensureRootsProviderInternal
in classBinaryPersistenceFoundation.Default<F extends SerializerFoundation.Default<?>>
-
ensureStorerCreationObserver
- Overrides:
ensureStorerCreationObserver
in classPersistenceFoundation.Default<Binary,F extends SerializerFoundation.Default<?>>
-
ensureStorerCreator
- Overrides:
ensureStorerCreator
in classBinaryPersistenceFoundation.Default<F extends SerializerFoundation.Default<?>>
-
ensureBuilderCreator
- Overrides:
ensureBuilderCreator
in classBinaryPersistenceFoundation.Default<F extends SerializerFoundation.Default<?>>
-
ensureTypeDictionaryManager
- Overrides:
ensureTypeDictionaryManager
in classPersistenceFoundation.Default<Binary,F extends SerializerFoundation.Default<?>>
-