Interface PersistenceLegacyTypeHandler<D,T>
- All Superinterfaces:
PersistenceDataTypeHolder<D>
,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.PersistenceDataTypeHolder
PersistenceDataTypeHolder.Default<D>
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> T
resolveEnumConstant(PersistenceLegacyTypeHandler<D,T> typeHandler, D data, Integer[] ordinalMap)
default void
store(D data, T instance, long objectId, PersistenceStoreHandler<D> 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, dataType, getPersistedEnumOrdinal, guaranteeSpecificInstanceViablity, guaranteeSubTypeInstanceViablity, initializeState, instanceMembers, isSpecificInstanceViable, isSubTypeInstanceViable, isValidEntityType, iterateInstanceReferences, iterateLoadableReferences, iterateMemberTypes, membersInDeclaredOrder, settingMembers, storingMembers, type, updateState, validateEntityType
-
Method Details
-
initialize
- Specified by:
initialize
in interfacePersistenceTypeHandler<D,T>
-
store
- Specified by:
store
in interfacePersistenceTypeHandler<D,T>
-
collectEnumConstants
- Specified by:
collectEnumConstants
in interfacePersistenceTypeHandler<D,T>
-
resolveEnumConstant
static <T, D> T resolveEnumConstant(PersistenceLegacyTypeHandler<D,T> typeHandler, D data, Integer[] ordinalMap)
-