Class AbstractBinaryHandlerCustomValue<T,S>
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,S>
- All Implemented Interfaces:
BinaryTypeHandler<T>
,ValidatingBinaryHandler<T,S>
,PersistenceDataTypeHolder<Binary>
,PersistenceTypeDefinition
,PersistenceTypeDescription
,PersistenceTypeHandler<Binary,T>
,PersistenceTypeIdentity
,PersistenceTypeIdOwner
,PersistenceTypeLink
- Direct Known Subclasses:
AbstractBinaryHandlerCustomValueFixedLength
,AbstractBinaryHandlerCustomValueVariableLength
public abstract class AbstractBinaryHandlerCustomValue<T,S> extends AbstractBinaryHandlerCustom<T> implements ValidatingBinaryHandler<T,S>
-
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.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
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
hasPersistedReferences()
void
initializeState(Binary data, T instance, PersistenceLoadHandler handler)
void
iterateLoadableReferences(Binary offset, PersistenceReferenceLoader iterator)
void
updateState(Binary data, T instance, PersistenceLoadHandler handler)
Methods inherited from class one.microstream.persistence.binary.internal.AbstractBinaryHandlerCustom
allMembers, bytes, calculcateBinaryLengths, chars, complete, Complex, create, CustomField, CustomField, CustomFields, defineValueType, ensureInitializeInstanceMembers, getInstanceFieldOfType, initializeInstanceMembers, 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, deriveTypeName, initialize, internalInitialize, toString, type, typeId, typeName, validateAndImmure, validateInstance
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface one.microstream.persistence.binary.types.BinaryTypeHandler
dataType
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, isValidEntityType, membersInDeclaredOrder, settingMembers, storingMembers, type, validateEntityType
Methods inherited from interface one.microstream.persistence.binary.types.ValidatingBinaryHandler
getValidationStateFromBinary, getValidationStateFromInstance, throwInconsistentStateException, validateState, validateStates
-
Constructor Details
-
AbstractBinaryHandlerCustomValue
public AbstractBinaryHandlerCustomValue(Class<T> type, XGettingSequence<? extends PersistenceTypeDefinitionMember> fields)
-
-
Method Details
-
hasPersistedReferences
public final boolean hasPersistedReferences()- Specified by:
hasPersistedReferences
in interfacePersistenceTypeDefinition
-
iterateLoadableReferences
- Specified by:
iterateLoadableReferences
in interfacePersistenceTypeHandler<T,S>
-
initializeState
- Specified by:
initializeState
in interfacePersistenceTypeHandler<T,S>
-
updateState
- Specified by:
updateState
in interfacePersistenceTypeHandler<T,S>
-