Class AbstractBinaryHandlerSet<T extends Set<?>>
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.AbstractBinaryHandlerCustomCollection<T>
one.microstream.persistence.binary.internal.AbstractBinaryHandlerCustomIterable<T>
one.microstream.persistence.binary.internal.AbstractBinaryHandlerCustomIterableSimpleListElements<T>
one.microstream.persistence.binary.java.util.AbstractBinaryHandlerSet<T>
- All Implemented Interfaces:
BinaryTypeHandler<T>
,PersistenceDataTypeHolder<Binary>
,PersistenceTypeDefinition
,PersistenceTypeDescription
,PersistenceTypeHandler<Binary,T>
,PersistenceTypeIdentity
,PersistenceTypeIdOwner
,PersistenceTypeLink
- Direct Known Subclasses:
BinaryHandlerGenericSet
,BinaryHandlerHashSet
,BinaryHandlerLinkedHashSet
public abstract class AbstractBinaryHandlerSet<T extends Set<?>> extends AbstractBinaryHandlerCustomIterableSimpleListElements<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.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 AbstractBinaryHandlerSet(Class<T> type)
-
Method Summary
Modifier and Type Method Description void
complete(Binary data, T instance, PersistenceLoadHandler handler)
Completes an initially built instance after all loaded instances have been built.protected long
getElementCount(T instance)
void
updateState(Binary data, T instance, PersistenceLoadHandler handler)
Methods inherited from class one.microstream.persistence.binary.internal.AbstractBinaryHandlerCustomIterableSimpleListElements
binaryOffsetElements, getElementCount, iterateLoadableReferences, store
Methods inherited from class one.microstream.persistence.binary.internal.AbstractBinaryHandlerCustomIterable
iterateInstanceReferences
Methods inherited from class one.microstream.persistence.binary.internal.AbstractBinaryHandlerCustomCollection
hasPersistedReferences, hasPersistedVariableLength, hasVaryingPersistedLengthInstances
Methods inherited from class one.microstream.persistence.binary.internal.AbstractBinaryHandlerCustom
allMembers, bytes, calculcateBinaryLengths, chars, Complex, create, CustomField, CustomField, CustomFields, defineValueType, ensureInitializeInstanceMembers, getInstanceFieldOfType, initializeInstanceMembers, instanceMembers, isPrimitiveType, iterateMemberTypes, keyValuesFields, membersPersistedLengthMaximum, membersPersistedLengthMinimum, SimpleArrayFields, SizedArrayFields
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
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, initializeState, isSpecificInstanceViable, isSubTypeInstanceViable, isValidEntityType, membersInDeclaredOrder, settingMembers, storingMembers, type, validateEntityType
-
Constructor Details
-
Method Details
-
getElementCount
- Specified by:
getElementCount
in classAbstractBinaryHandlerCustomIterableSimpleListElements<T extends Set<?>>
-
updateState
-
complete
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.- Specified by:
complete
in interfacePersistenceTypeHandler<Binary,T extends Set<?>>
- Overrides:
complete
in classAbstractBinaryHandlerCustom<T extends Set<?>>
-