Class PersistenceCustomTypeHandlerRegistry.Default<M>
- java.lang.Object
-
- one.microstream.persistence.types.PersistenceCustomTypeHandlerRegistry.Default<M>
-
- All Implemented Interfaces:
PersistenceCustomTypeHandlerRegistry<M>
,PersistenceTypeHandlerIterable<M>
- Enclosing interface:
- PersistenceCustomTypeHandlerRegistry<M>
public static final class PersistenceCustomTypeHandlerRegistry.Default<M> extends Object implements PersistenceCustomTypeHandlerRegistry<M>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceCustomTypeHandlerRegistry
PersistenceCustomTypeHandlerRegistry.Default<M>
-
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
Modifier and Type Method Description <C extends Consumer<? super PersistenceLegacyTypeHandler<M,?>>>
CiterateLegacyTypeHandlers(C iterator)
<C extends Consumer<? super PersistenceTypeHandler<M,?>>>
CiterateTypeHandlers(C iterator)
boolean
knowsType(Class<?> type)
XGettingEnum<PersistenceLegacyTypeHandler<M,?>>
legacyTypeHandlers()
<T> PersistenceTypeHandler<M,T>
lookupTypeHandler(Class<T> type)
<T> boolean
registerLegacyTypeHandler(PersistenceLegacyTypeHandler<M,T> legacyTypeHandler)
PersistenceCustomTypeHandlerRegistry<M>
registerLegacyTypeHandlers(XGettingCollection<? extends PersistenceLegacyTypeHandler<M,?>> legacyTypeHandlers)
<T> boolean
registerTypeHandler(Class<T> type, PersistenceTypeHandler<M,T> typeHandlerInitializer)
<T> boolean
registerTypeHandler(PersistenceTypeHandler<M,T> typeHandlerInitializer)
PersistenceCustomTypeHandlerRegistry.Default<M>
registerTypeHandlers(XGettingCollection<? extends PersistenceTypeHandler<M,?>> typeHandlerInitializers)
-
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.types.PersistenceTypeHandlerIterable
iterateAllTypeHandlers
-
-
-
-
Method Detail
-
knowsType
public boolean knowsType(Class<?> type)
- Specified by:
knowsType
in interfacePersistenceCustomTypeHandlerRegistry<M>
-
registerTypeHandler
public final <T> boolean registerTypeHandler(Class<T> type, PersistenceTypeHandler<M,T> typeHandlerInitializer)
- Specified by:
registerTypeHandler
in interfacePersistenceCustomTypeHandlerRegistry<M>
-
registerTypeHandler
public <T> boolean registerTypeHandler(PersistenceTypeHandler<M,T> typeHandlerInitializer)
- Specified by:
registerTypeHandler
in interfacePersistenceCustomTypeHandlerRegistry<M>
-
registerTypeHandlers
public PersistenceCustomTypeHandlerRegistry.Default<M> registerTypeHandlers(XGettingCollection<? extends PersistenceTypeHandler<M,?>> typeHandlerInitializers)
- Specified by:
registerTypeHandlers
in interfacePersistenceCustomTypeHandlerRegistry<M>
-
registerLegacyTypeHandler
public <T> boolean registerLegacyTypeHandler(PersistenceLegacyTypeHandler<M,T> legacyTypeHandler)
- Specified by:
registerLegacyTypeHandler
in interfacePersistenceCustomTypeHandlerRegistry<M>
-
registerLegacyTypeHandlers
public PersistenceCustomTypeHandlerRegistry<M> registerLegacyTypeHandlers(XGettingCollection<? extends PersistenceLegacyTypeHandler<M,?>> legacyTypeHandlers)
- Specified by:
registerLegacyTypeHandlers
in interfacePersistenceCustomTypeHandlerRegistry<M>
-
lookupTypeHandler
public <T> PersistenceTypeHandler<M,T> lookupTypeHandler(Class<T> type)
- Specified by:
lookupTypeHandler
in interfacePersistenceCustomTypeHandlerRegistry<M>
-
iterateTypeHandlers
public <C extends Consumer<? super PersistenceTypeHandler<M,?>>> C iterateTypeHandlers(C iterator)
- Specified by:
iterateTypeHandlers
in interfacePersistenceTypeHandlerIterable<M>
-
iterateLegacyTypeHandlers
public <C extends Consumer<? super PersistenceLegacyTypeHandler<M,?>>> C iterateLegacyTypeHandlers(C iterator)
- Specified by:
iterateLegacyTypeHandlers
in interfacePersistenceTypeHandlerIterable<M>
-
legacyTypeHandlers
public final XGettingEnum<PersistenceLegacyTypeHandler<M,?>> legacyTypeHandlers()
- Specified by:
legacyTypeHandlers
in interfacePersistenceCustomTypeHandlerRegistry<M>
-
-