Class OpenTypeHandler7
- java.lang.Object
-
- com.db4o.internal.OpenTypeHandler
-
- com.db4o.internal.handlers.versions.OpenTypeHandler7
-
- All Implemented Interfaces:
BuiltinTypeHandler
,LinkLengthAware
,CascadingTypeHandler
,ReferenceTypeHandler
,TypeHandler4
,ValueTypeHandler
- Direct Known Subclasses:
OpenTypeHandler2
public class OpenTypeHandler7 extends OpenTypeHandler
-
-
Constructor Summary
Constructors Constructor Description OpenTypeHandler7(ObjectContainerBase container)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
defragment(DefragmentContext context)
gets called when an object gets defragmented.java.lang.Object
read(ReadContext readContext)
gets called when an value type is to be read from the database.-
Methods inherited from class com.db4o.internal.OpenTypeHandler
activate, cascadeActivation, classReflector, collectIDs, container, correctTypeHandlerVersionFor, delete, equals, getID, hasField, hashCode, isPlainObject, linkLength, readCandidateHandler, readObjectID, readTypeHandler, readTypeHandlerRestoreOffset, registerReflector, seekSecondaryOffset, typeHandlerForObject, write
-
-
-
-
Constructor Detail
-
OpenTypeHandler7
public OpenTypeHandler7(ObjectContainerBase container)
-
-
Method Detail
-
read
public java.lang.Object read(ReadContext readContext)
Description copied from interface:ValueTypeHandler
gets called when an value type is to be read from the database.- Specified by:
read
in interfaceValueTypeHandler
- Overrides:
read
in classOpenTypeHandler
- Returns:
- the read value type
-
defragment
public void defragment(DefragmentContext context)
Description copied from interface:TypeHandler4
gets called when an object gets defragmented.- Specified by:
defragment
in interfaceTypeHandler4
- Overrides:
defragment
in classOpenTypeHandler
-
-