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