Package one.microstream.java.util
Class BinaryHandlerTreeSet
- 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<TreeSet<?>>
-
- one.microstream.java.util.BinaryHandlerTreeSet
-
- All Implemented Interfaces:
BinaryTypeHandler<TreeSet<?>>
,PersistenceTypeDefinition
,PersistenceTypeDescription
,PersistenceTypeHandler<Binary,TreeSet<?>>
,PersistenceTypeIdentity
,PersistenceTypeIdOwner
,PersistenceTypeLink
public final class BinaryHandlerTreeSet extends AbstractBinaryHandlerCustomCollection<TreeSet<?>>
-
-
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<M,T>
-
-
Constructor Summary
Constructors Constructor Description BinaryHandlerTreeSet()
-
Method Summary
Modifier and Type Method Description void
complete(Binary bytes, TreeSet<?> instance, PersistenceObjectIdResolver idResolver)
Completes an initially built instance after all loaded instances have been built.TreeSet<?>
create(Binary bytes, PersistenceObjectIdResolver idResolver)
void
iterateInstanceReferences(TreeSet<?> instance, PersistenceFunction iterator)
void
iterateLoadableReferences(Binary bytes, PersistenceObjectIdAcceptor iterator)
static BinaryHandlerTreeSet
New()
void
store(Binary bytes, TreeSet<?> instance, long objectId, PersistenceStoreHandler handler)
void
update(Binary bytes, TreeSet<?> instance, PersistenceObjectIdResolver idResolver)
-
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
toTypeIdentifier
-
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeHandler
collectEnumConstants, getPersistedEnumOrdinal, guaranteeSpecificInstanceViablity, guaranteeSubTypeInstanceViablity, initialize, isSpecificInstanceViable, isSubTypeInstanceViable, membersInDeclaredOrder, settingMembers, storingMembers, type
-
-
-
-
Method Detail
-
New
public static BinaryHandlerTreeSet New()
-
store
public final void store(Binary bytes, TreeSet<?> instance, long objectId, PersistenceStoreHandler handler)
- Specified by:
store
in interfacePersistenceTypeHandler<Binary,TreeSet<?>>
- Specified by:
store
in classAbstractBinaryHandlerCustom<TreeSet<?>>
-
create
public final TreeSet<?> create(Binary bytes, PersistenceObjectIdResolver idResolver)
- Specified by:
create
in interfacePersistenceTypeHandler<Binary,TreeSet<?>>
- Specified by:
create
in classAbstractBinaryHandlerCustom<TreeSet<?>>
-
update
public final void update(Binary bytes, TreeSet<?> instance, PersistenceObjectIdResolver idResolver)
- Specified by:
update
in interfacePersistenceTypeHandler<Binary,TreeSet<?>>
- Overrides:
update
in classAbstractBinaryHandlerCustom<TreeSet<?>>
-
complete
public final void complete(Binary bytes, TreeSet<?> instance, PersistenceObjectIdResolver idResolver)
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,TreeSet<?>>
- Overrides:
complete
in classAbstractBinaryHandlerCustom<TreeSet<?>>
-
iterateInstanceReferences
public final void iterateInstanceReferences(TreeSet<?> instance, PersistenceFunction iterator)
- Specified by:
iterateInstanceReferences
in interfacePersistenceTypeHandler<Binary,TreeSet<?>>
- Overrides:
iterateInstanceReferences
in classAbstractBinaryHandlerCustom<TreeSet<?>>
-
iterateLoadableReferences
public final void iterateLoadableReferences(Binary bytes, PersistenceObjectIdAcceptor iterator)
-
-