Class AbstractBinaryHandlerCustomValue<T>
- java.lang.Object
-
- one.microstream.persistence.types.PersistenceTypeHandler.Abstract<Binary,T>
-
- one.microstream.persistence.binary.types.BinaryTypeHandler.Abstract<T>
-
- one.microstream.persistence.binary.internal.AbstractBinaryHandlerCustom<T>
-
- one.microstream.persistence.binary.internal.AbstractBinaryHandlerCustomValue<T>
-
- All Implemented Interfaces:
BinaryTypeHandler<T>
,PersistenceTypeDefinition
,PersistenceTypeDescription
,PersistenceTypeHandler<Binary,T>
,PersistenceTypeIdentity
,PersistenceTypeIdOwner
,PersistenceTypeLink
- Direct Known Subclasses:
AbstractBinaryHandlerCustomValueFixedLength
,AbstractBinaryHandlerCustomValueVariableLength
public abstract class AbstractBinaryHandlerCustomValue<T> extends AbstractBinaryHandlerCustom<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.persistence.binary.types.BinaryTypeHandler
BinaryTypeHandler.Abstract<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
-
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeHandler
PersistenceTypeHandler.Abstract<D,T>
-
-
Constructor Summary
Constructors Constructor Description AbstractBinaryHandlerCustomValue(Class<T> type, XGettingSequence<? extends PersistenceTypeDefinitionMember> fields)
-
Method Summary
Modifier and Type Method Description boolean
hasInstanceReferences()
boolean
hasPersistedReferences()
void
initializeState(Binary data, T instance, PersistenceLoadHandler handler)
void
iterateLoadableReferences(Binary offset, PersistenceReferenceLoader iterator)
void
updateState(Binary data, T instance, PersistenceLoadHandler handler)
abstract void
validateState(Binary data, T instance, PersistenceLoadHandler handler)
-
Methods inherited from class one.microstream.persistence.binary.internal.AbstractBinaryHandlerCustom
allMembers, bytes, chars, complete, Complex, create, CustomField, CustomField, CustomFields, defineValueType, instanceMembers, isPrimitiveType, iterateInstanceReferences, iterateMemberTypes, keyValuesFields, membersPersistedLengthMaximum, membersPersistedLengthMinimum, SimpleArrayFields, SizedArrayFields, store
-
Methods inherited from class one.microstream.persistence.binary.types.BinaryTypeHandler.Abstract
declaredField, declaredField
-
Methods inherited from class one.microstream.persistence.types.PersistenceTypeHandler.Abstract
declaredField, declaredFields, initialize, toString, type, typeId, typeName, validateAndImmure
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeDefinition
hasPersistedVariableLength, hasVaryingPersistedLengthInstances, 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
collectEnumConstants, getPersistedEnumOrdinal, guaranteeSpecificInstanceViablity, guaranteeSubTypeInstanceViablity, initialize, isSpecificInstanceViable, isSubTypeInstanceViable, membersInDeclaredOrder, settingMembers, storingMembers, type
-
-
-
-
Constructor Detail
-
AbstractBinaryHandlerCustomValue
public AbstractBinaryHandlerCustomValue(Class<T> type, XGettingSequence<? extends PersistenceTypeDefinitionMember> fields)
-
-
Method Detail
-
hasInstanceReferences
public final boolean hasInstanceReferences()
-
hasPersistedReferences
public final boolean hasPersistedReferences()
-
iterateLoadableReferences
public final void iterateLoadableReferences(Binary offset, PersistenceReferenceLoader iterator)
-
initializeState
public void initializeState(Binary data, T instance, PersistenceLoadHandler handler)
-
validateState
public abstract void validateState(Binary data, T instance, PersistenceLoadHandler handler)
-
updateState
public void updateState(Binary data, T instance, PersistenceLoadHandler handler)
-
-