Interface PersistenceLegacyTypeHandler<D,T>
-
- All Superinterfaces:
PersistenceTypeDefinition
,PersistenceTypeDescription
,PersistenceTypeHandler<D,T>
,PersistenceTypeIdentity
,PersistenceTypeIdOwner
,PersistenceTypeLink
- All Known Subinterfaces:
BinaryLegacyTypeHandler<T>
,PersistenceUnreachableTypeHandler<D,T>
- All Known Implementing Classes:
AbstractBinaryLegacyTypeHandlerReflective
,AbstractBinaryLegacyTypeHandlerTranslating
,BinaryLegacyTypeHandler.Abstract
,BinaryLegacyTypeHandler.AbstractCustom
,BinaryLegacyTypeHandlerGenericEnum
,BinaryLegacyTypeHandlerGenericEnumMapped
,BinaryLegacyTypeHandlerGenericType
,BinaryLegacyTypeHandlerRerouting
,PersistenceLegacyTypeHandler.Abstract
,PersistenceLegacyTypeHandlerWrapper
,PersistenceLegacyTypeHandlerWrapperEnum
,PersistenceUnreachableTypeHandler.Default
public interface PersistenceLegacyTypeHandler<D,T> extends PersistenceTypeHandler<D,T>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PersistenceLegacyTypeHandler.Abstract<D,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<D,T>
initialize(long typeId)
static <T,D>
TresolveEnumConstant(PersistenceLegacyTypeHandler<D,T> typeHandler, D data, Integer[] ordinalMap)
default void
store(D data, 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, initializeState, instanceMembers, isSpecificInstanceViable, isSubTypeInstanceViable, iterateInstanceReferences, iterateLoadableReferences, iterateMemberTypes, membersInDeclaredOrder, settingMembers, storingMembers, type, updateState
-
-
-
-
Method Detail
-
initialize
default PersistenceLegacyTypeHandler<D,T> initialize(long typeId)
- Specified by:
initialize
in interfacePersistenceTypeHandler<D,T>
-
store
default void store(D data, T instance, long objectId, PersistenceStoreHandler handler)
- Specified by:
store
in interfacePersistenceTypeHandler<D,T>
-
collectEnumConstants
default Object[] collectEnumConstants()
- Specified by:
collectEnumConstants
in interfacePersistenceTypeHandler<D,T>
-
resolveEnumConstant
static <T,D> T resolveEnumConstant(PersistenceLegacyTypeHandler<D,T> typeHandler, D data, Integer[] ordinalMap)
-
-