Interface PersistenceTypeHandlerProvider<D>
- All Superinterfaces:
PersistenceDataTypeHolder<D>
,PersistenceTypeHandlerEnsurer<D>
,PersistenceTypeHandlerIterable<D>
,PersistenceTypeIdLookup
,PersistenceTypeLookup
,PersistenceTypeManager
,PersistenceTypeRegistry
- All Known Implementing Classes:
PersistenceTypeHandlerProviderCreating
,PersistenceTypeHandlerProviderFailing
public interface PersistenceTypeHandlerProvider<D> extends PersistenceTypeManager, PersistenceTypeHandlerEnsurer<D>
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeHandlerEnsurer
PersistenceTypeHandlerEnsurer.Default<D>
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeManager
PersistenceTypeManager.Default
-
Method Summary
Modifier and Type Method Description <T> PersistenceTypeHandler<D,? super T>
ensureTypeHandler(Class<T> type)
<T> PersistenceTypeHandler<D,? super T>
provideTypeHandler(Class<T> type)
Methods inherited from interface one.microstream.persistence.types.PersistenceDataTypeHolder
dataType
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeHandlerIterable
iterateAllTypeHandlers, iterateLegacyTypeHandlers, iterateTypeHandlers
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeLookup
lookupType, lookupTypeId, validateTypeMapping, validateTypeMappings
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeManager
currentTypeId, ensureType, ensureTypeId, updateCurrentHighestTypeId
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeRegistry
iteratePerIds, registerType, registerTypes
-
Method Details
-
provideTypeHandler
<T> PersistenceTypeHandler<D,? super T> provideTypeHandler(Class<T> type) throws PersistenceExceptionTypeNotPersistable -
ensureTypeHandler
<T> PersistenceTypeHandler<D,? super T> ensureTypeHandler(Class<T> type) throws PersistenceExceptionTypeNotPersistable- Specified by:
ensureTypeHandler
in interfacePersistenceTypeHandlerEnsurer<D>
- Throws:
PersistenceExceptionTypeNotPersistable
-