Interface PersistenceLegacyTypeHandler<M,T>
-
- All Superinterfaces:
PersistenceTypeDefinition
,PersistenceTypeDescription
,PersistenceTypeHandler<M,T>
,PersistenceTypeIdentity
,PersistenceTypeIdOwner
,PersistenceTypeLink
- All Known Subinterfaces:
BinaryLegacyTypeHandler<T>
,PersistenceUnreachableTypeHandler<M,T>
- All Known Implementing Classes:
AbstractBinaryLegacyTypeHandlerReflective
,AbstractBinaryLegacyTypeHandlerTranslating
,BinaryLegacyTypeHandler.Abstract
,BinaryLegacyTypeHandler.AbstractCustom
,BinaryLegacyTypeHandlerGenericEnum
,BinaryLegacyTypeHandlerGenericEnumMapped
,BinaryLegacyTypeHandlerGenericType
,BinaryLegacyTypeHandlerRerouting
,PersistenceLegacyTypeHandler.Abstract
,PersistenceLegacyTypeHandlerWrapper
,PersistenceLegacyTypeHandlerWrapperEnum
,PersistenceUnreachableTypeHandler.Default
public interface PersistenceLegacyTypeHandler<M,T> extends PersistenceTypeHandler<M,T>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PersistenceLegacyTypeHandler.Abstract<M,T>
-
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeDefinition
PersistenceTypeDefinition.Default
-
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeDescription
PersistenceTypeDescription.Identity
-
-
Method Summary
Modifier and Type Method Description default Object[]
collectEnumConstants()
default PersistenceLegacyTypeHandler<M,T>
initialize(long typeId)
static <T,M>
TresolveEnumConstant(PersistenceLegacyTypeHandler<M,T> typeHandler, M medium, Integer[] ordinalMap)
default void
store(M medium, T instance, long objectId, PersistenceStoreHandler handler)
-
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeDefinition
hasPersistedReferences, hasPersistedVariableLength, hasVaryingPersistedLengthInstances, isPrimitiveType, membersPersistedLengthMaximum, membersPersistedLengthMinimum, runtimeTypeName, toRuntimeTypeIdentifier, typeId, typeName
-
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeDescription
instancePrimitiveMembers, instanceReferenceMembers, toTypeIdentifier
-
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeHandler
allMembers, complete, create, getPersistedEnumOrdinal, guaranteeSpecificInstanceViablity, guaranteeSubTypeInstanceViablity, hasInstanceReferences, instanceMembers, isSpecificInstanceViable, isSubTypeInstanceViable, iterateInstanceReferences, iterateLoadableReferences, iterateMemberTypes, membersInDeclaredOrder, settingMembers, storingMembers, type, update
-
-
-
-
Method Detail
-
initialize
default PersistenceLegacyTypeHandler<M,T> initialize(long typeId)
- Specified by:
initialize
in interfacePersistenceTypeHandler<M,T>
-
store
default void store(M medium, T instance, long objectId, PersistenceStoreHandler handler)
- Specified by:
store
in interfacePersistenceTypeHandler<M,T>
-
collectEnumConstants
default Object[] collectEnumConstants()
- Specified by:
collectEnumConstants
in interfacePersistenceTypeHandler<M,T>
-
resolveEnumConstant
static <T,M> T resolveEnumConstant(PersistenceLegacyTypeHandler<M,T> typeHandler, M medium, Integer[] ordinalMap)
-
-