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
dataTypeMethods inherited from interface one.microstream.persistence.types.PersistenceTypeHandlerIterable
iterateAllTypeHandlers, iterateLegacyTypeHandlers, iterateTypeHandlersMethods inherited from interface one.microstream.persistence.types.PersistenceTypeLookup
lookupType, lookupTypeId, validateTypeMapping, validateTypeMappingsMethods inherited from interface one.microstream.persistence.types.PersistenceTypeManager
currentTypeId, ensureType, ensureTypeId, updateCurrentHighestTypeIdMethods inherited from interface one.microstream.persistence.types.PersistenceTypeRegistry
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:
ensureTypeHandlerin interfacePersistenceTypeHandlerEnsurer<D>- Throws:
PersistenceExceptionTypeNotPersistable
-