Class BinaryPersistenceFoundation.Default<F extends BinaryPersistenceFoundation.Default<?>>
- java.lang.Object
-
- one.microstream.util.InstanceDispatcher.Default
-
- one.microstream.persistence.types.PersistenceFoundation.Default<Binary,F>
-
- one.microstream.persistence.binary.types.BinaryPersistenceFoundation.Default<F>
-
- All Implemented Interfaces:
BinaryPersistenceFoundation<F>
,ByteOrderTargeting<F>
,ByteOrderTargeting.Mutable<F>
,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<M,F extends PersistenceFoundation.Default<M,?>>
-
-
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, executeTypeHandlerRegistration, getBufferSizeProvider, getBuilderCreator, getContextDispatcher, getCustomTypeHandlerRegistry, getCustomTypeHandlerRegistryEnsurer, getFieldEvaluatorCollection, getFieldEvaluatorEnum, getFieldEvaluatorPersistable, getFieldFixedLengthResolver, getInstanceDispatcherLogic, getInstantiator, getInstantiatorProvider, getLambdaTypeRecognizer, getLegacyMemberMatchingProvider, getLegacyTypeHandlerCreator, getLegacyTypeHandlingListener, getLegacyTypeMapper, getLegacyTypeMappingResultor, getObjectIdProvider, getObjectManager, getObjectRegistry, getPersistenceSource, getPersistenceTarget, getRefactoringCurrentMemberIdentifierBuilders, getRefactoringLegacyMemberIdentifierBuilders, getRefactoringLegacyTypeIdentifierBuilders, getRefactoringMappingProvider, getReferenceFieldEagerEvaluator, getRegistererCreator, 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, getTypeRegistry, getTypeResolver, getTypeSimilarity, getUnreachableTypeHandlerCreator, registerCustomInstantiator, registerCustomTypeHandler, registerCustomTypeHandlers, registerCustomTypeHandlers, registerCustomTypeHandlers, setBufferSizeProvider, setBuilderCreator, setContextDispatcher, setCustomTypeHandlerRegistryEnsurer, setFieldEvaluatorCollection, setFieldEvaluatorEnum, setFieldEvaluatorPersistable, setFieldFixedLengthResolver, setIdProvider, setInstanceDispatcher, setInstantiator, setInstantiatorProvider, setLambdaTypeRecognizer, setLegacyMemberMatchingProvider, setLegacyTypeHandlerCreator, setLegacyTypeHandlingListener, setLegacyTypeMapper, setLegacyTypeMappingResultor, setObjectIdProvider, setObjectManager, setObjectRegistry, setPersistenceChannel, setPersistenceSource, setPersistenceTarget, setRefactoringCurrentMemberIdentifierBuilders, setRefactoringLegacyMemberIdentifierBuilders, setRefactoringLegacyTypeIdentifierBuilders, setRefactoringMappingProvider, setReferenceFieldEagerEvaluator, setRegistererCreator, 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, 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.PersistenceFoundation
customTypeHandlerRegistryEnsurer, customTypeHandlers, customTypeInstantiators, executeTypeHandlerRegistration, getBufferSizeProvider, getBuilderCreator, getContextDispatcher, getCustomTypeHandlerRegistry, getCustomTypeHandlerRegistryEnsurer, getFieldEvaluatorCollection, getFieldEvaluatorEnum, getFieldEvaluatorPersistable, getFieldFixedLengthResolver, getInstanceDispatcherLogic, getInstantiator, getInstantiatorProvider, getLambdaTypeRecognizer, getLegacyMemberMatchingProvider, getLegacyTypeHandlerCreator, getLegacyTypeHandlingListener, getLegacyTypeMapper, getLegacyTypeMappingResultor, getObjectIdProvider, getObjectManager, getObjectRegistry, getPersistenceSource, getPersistenceTarget, getRefactoringCurrentMemberIdentifierBuilders, getRefactoringLegacyMemberIdentifierBuilders, getRefactoringLegacyTypeIdentifierBuilders, getRefactoringMappingProvider, getReferenceFieldEagerEvaluator, getRegistererCreator, 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, getTypeRegistry, getTypeResolver, getTypeSimilarity, getUnreachableTypeHandlerCreator, registerCustomInstantiator, registerCustomTypeHandler, registerCustomTypeHandlers, registerCustomTypeHandlers, registerCustomTypeHandlers, setBufferSizeProvider, setBuilderCreator, setContextDispatcher, setCustomTypeHandlerRegistryEnsurer, setFieldEvaluatorCollection, setFieldEvaluatorEnum, setFieldEvaluatorPersistable, setFieldFixedLengthResolver, setIdProvider, setInstanceDispatcher, setInstantiator, setInstantiatorProvider, setLambdaTypeRecognizer, setLegacyMemberMatchingProvider, setLegacyTypeHandlerCreator, setLegacyTypeHandlingListener, setLegacyTypeMapper, setLegacyTypeMappingResultor, setObjectIdProvider, setObjectManager, setObjectRegistry, setPersistenceChannel, setPersistenceSource, setPersistenceTarget, setRefactoringCurrentMemberIdentifierBuilders, setRefactoringLegacyMemberIdentifierBuilders, setRefactoringLegacyTypeIdentifierBuilders, setRefactoringMappingProvider, setReferenceFieldEagerEvaluator, setRegistererCreator, 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, setTypeRegistry, setTypeResolver, setTypeSimilarity, setUnreachableTypeHandlerCreator
-
-
-
-
Method Detail
-
Clone
public BinaryPersistenceFoundation.Default<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 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
public XTable<String,BinaryValueSetter> getCustomTranslatorLookup()
- Specified by:
getCustomTranslatorLookup
in interfaceBinaryPersistenceFoundation<F extends BinaryPersistenceFoundation.Default<?>>
-
getTranslatorKeyBuilders
public XEnum<BinaryValueTranslatorKeyBuilder> getTranslatorKeyBuilders()
- Specified by:
getTranslatorKeyBuilders
in interfaceBinaryPersistenceFoundation<F extends BinaryPersistenceFoundation.Default<?>>
-
getValueTranslatorMappingProvider
public BinaryValueTranslatorMappingProvider getValueTranslatorMappingProvider()
- Specified by:
getValueTranslatorMappingProvider
in interfaceBinaryPersistenceFoundation<F extends BinaryPersistenceFoundation.Default<?>>
-
getValueTranslatorProvider
public BinaryValueTranslatorProvider getValueTranslatorProvider()
- Specified by:
getValueTranslatorProvider
in interfaceBinaryPersistenceFoundation<F extends BinaryPersistenceFoundation.Default<?>>
-
setCustomTranslatorLookup
public F setCustomTranslatorLookup(XTable<String,BinaryValueSetter> customTranslatorLookup)
- Specified by:
setCustomTranslatorLookup
in interfaceBinaryPersistenceFoundation<F extends BinaryPersistenceFoundation.Default<?>>
-
setTranslatorKeyBuilders
public F setTranslatorKeyBuilders(XEnum<BinaryValueTranslatorKeyBuilder> translatorKeyBuilders)
- Specified by:
setTranslatorKeyBuilders
in interfaceBinaryPersistenceFoundation<F extends BinaryPersistenceFoundation.Default<?>>
-
setValueTranslatorProvider
public F setValueTranslatorProvider(BinaryValueTranslatorProvider valueTranslatorProvider)
- Specified by:
setValueTranslatorProvider
in interfaceBinaryPersistenceFoundation<F extends BinaryPersistenceFoundation.Default<?>>
-
setValueTranslatorMappingProvider
public F setValueTranslatorMappingProvider(BinaryValueTranslatorMappingProvider valueTranslatorMapping)
- Specified by:
setValueTranslatorMappingProvider
in interfaceBinaryPersistenceFoundation<F extends BinaryPersistenceFoundation.Default<?>>
-
-