Class BinaryLegacyTypeHandlerRerouting<T>
- java.lang.Object
-
- one.microstream.persistence.types.PersistenceLegacyTypeHandler.Abstract<Binary,T>
-
- one.microstream.persistence.binary.types.BinaryLegacyTypeHandler.Abstract<T>
-
- one.microstream.persistence.binary.internal.AbstractBinaryLegacyTypeHandlerTranslating<T>
-
- one.microstream.persistence.binary.types.BinaryLegacyTypeHandlerRerouting<T>
-
- All Implemented Interfaces:
BinaryLegacyTypeHandler<T>
,PersistenceLegacyTypeHandler<Binary,T>
,PersistenceTypeDefinition
,PersistenceTypeDescription
,PersistenceTypeHandler<Binary,T>
,PersistenceTypeIdentity
,PersistenceTypeIdOwner
,PersistenceTypeLink
public final class BinaryLegacyTypeHandlerRerouting<T> extends AbstractBinaryLegacyTypeHandlerTranslating<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.persistence.binary.types.BinaryLegacyTypeHandler
BinaryLegacyTypeHandler.Abstract<T>, BinaryLegacyTypeHandler.AbstractCustom<T>
-
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceLegacyTypeHandler
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
-
-
Constructor Summary
Constructors Constructor Description BinaryLegacyTypeHandlerRerouting()
-
Method Summary
Modifier and Type Method Description void
complete(Binary rawData, T instance, PersistenceLoadHandler handler)
Completes an initially built instance after all loaded instances have been built.void
iterateLoadableReferences(Binary rawData, PersistenceReferenceLoader iterator)
static <T> BinaryLegacyTypeHandlerRerouting<T>
New(PersistenceTypeDefinition typeDefinition, PersistenceTypeHandler<Binary,T> typeHandler, XGettingTable<Long,BinaryValueSetter> translatorsWithTargetOffsets, PersistenceLegacyTypeHandlingListener<Binary> listener, boolean switchByteOrder)
void
updateState(Binary rawData, T instance, PersistenceLoadHandler handler)
-
Methods inherited from class one.microstream.persistence.binary.internal.AbstractBinaryLegacyTypeHandlerTranslating
collectEnumConstants, create, deriveReferenceTraversers, getPersistedEnumOrdinal, guaranteeSpecificInstanceViablity, guaranteeSubTypeInstanceViablity, hasInstanceReferences, isSpecificInstanceViable, isSubTypeInstanceViable, iterateInstanceReferences, iterateMemberTypes, membersInDeclaredOrder, settingMembers, storingMembers, toTargetOffsets, toTranslators, type, typeHandler
-
Methods inherited from class one.microstream.persistence.types.PersistenceLegacyTypeHandler.Abstract
allMembers, hasPersistedReferences, hasPersistedVariableLength, hasVaryingPersistedLengthInstances, instanceMembers, isPrimitiveType, legacyTypeDefinition, membersPersistedLengthMaximum, membersPersistedLengthMinimum, runtimeTypeName, typeId, typeName
-
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.binary.types.BinaryLegacyTypeHandler
initialize, store
-
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, initializeState, instanceMembers
-
-
-
-
Method Detail
-
New
public static <T> BinaryLegacyTypeHandlerRerouting<T> New(PersistenceTypeDefinition typeDefinition, PersistenceTypeHandler<Binary,T> typeHandler, XGettingTable<Long,BinaryValueSetter> translatorsWithTargetOffsets, PersistenceLegacyTypeHandlingListener<Binary> listener, boolean switchByteOrder)
-
iterateLoadableReferences
public final void iterateLoadableReferences(Binary rawData, PersistenceReferenceLoader iterator)
-
updateState
public final void updateState(Binary rawData, T instance, PersistenceLoadHandler handler)
-
complete
public final void complete(Binary rawData, T instance, PersistenceLoadHandler handler)
Description copied from interface:PersistenceTypeHandler
Completes an initially built instance after all loaded instances have been built. E.g. can be used to cause a hash collection to hash all its initially collected entries after their instances have been built.
-
-