Package one.microstream.java.util
Class BinaryHandlerTreeMap
- 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<TreeMap<?,?>>
-
- one.microstream.java.util.BinaryHandlerTreeMap
-
- All Implemented Interfaces:
BinaryTypeHandler<TreeMap<?,?>>
,PersistenceTypeDefinition
,PersistenceTypeDescription
,PersistenceTypeHandler<Binary,TreeMap<?,?>>
,PersistenceTypeIdentity
,PersistenceTypeIdOwner
,PersistenceTypeLink
public final class BinaryHandlerTreeMap extends AbstractBinaryHandlerCustomCollection<TreeMap<?,?>>
-
-
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 BinaryHandlerTreeMap()
-
Method Summary
Modifier and Type Method Description void
complete(Binary data, TreeMap<?,?> instance, PersistenceLoadHandler handler)
Completes an initially built instance after all loaded instances have been built.TreeMap<?,?>
create(Binary data, PersistenceLoadHandler handler)
void
iterateInstanceReferences(TreeMap<?,?> instance, PersistenceFunction iterator)
void
iterateLoadableReferences(Binary data, PersistenceReferenceLoader iterator)
static BinaryHandlerTreeMap
New()
void
store(Binary data, TreeMap<?,?> instance, long objectId, PersistenceStoreHandler handler)
void
updateState(Binary data, TreeMap<?,?> instance, PersistenceLoadHandler handler)
-
Methods inherited from class one.microstream.persistence.binary.internal.AbstractBinaryHandlerCustomCollection
hasInstanceReferences, hasPersistedReferences, hasPersistedVariableLength, hasVaryingPersistedLengthInstances
-
Methods inherited from class one.microstream.persistence.binary.internal.AbstractBinaryHandlerCustom
allMembers, bytes, chars, Complex, CustomField, CustomField, CustomFields, defineValueType, 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, 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
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, membersInDeclaredOrder, settingMembers, storingMembers, type
-
-
-
-
Method Detail
-
New
public static BinaryHandlerTreeMap New()
-
store
public final void store(Binary data, TreeMap<?,?> instance, long objectId, PersistenceStoreHandler handler)
- Specified by:
store
in interfacePersistenceTypeHandler<Binary,TreeMap<?,?>>
- Specified by:
store
in classAbstractBinaryHandlerCustom<TreeMap<?,?>>
-
create
public final TreeMap<?,?> create(Binary data, PersistenceLoadHandler handler)
- Specified by:
create
in interfacePersistenceTypeHandler<Binary,TreeMap<?,?>>
- Specified by:
create
in classAbstractBinaryHandlerCustom<TreeMap<?,?>>
-
updateState
public final void updateState(Binary data, TreeMap<?,?> instance, PersistenceLoadHandler handler)
-
complete
public final void complete(Binary data, TreeMap<?,?> 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.- Specified by:
complete
in interfacePersistenceTypeHandler<Binary,TreeMap<?,?>>
- Overrides:
complete
in classAbstractBinaryHandlerCustom<TreeMap<?,?>>
-
iterateInstanceReferences
public final void iterateInstanceReferences(TreeMap<?,?> instance, PersistenceFunction iterator)
- Specified by:
iterateInstanceReferences
in interfacePersistenceTypeHandler<Binary,TreeMap<?,?>>
- Overrides:
iterateInstanceReferences
in classAbstractBinaryHandlerCustom<TreeMap<?,?>>
-
iterateLoadableReferences
public final void iterateLoadableReferences(Binary data, PersistenceReferenceLoader iterator)
-
-