Class OpenTypeHandler0
- java.lang.Object
-
- com.db4o.internal.OpenTypeHandler
-
- com.db4o.internal.handlers.versions.OpenTypeHandler7
-
- com.db4o.internal.handlers.versions.OpenTypeHandler2
-
- com.db4o.internal.handlers.versions.OpenTypeHandler0
-
- All Implemented Interfaces:
BuiltinTypeHandler
,LinkLengthAware
,CascadingTypeHandler
,ReferenceTypeHandler
,TypeHandler4
,ValueTypeHandler
public class OpenTypeHandler0 extends OpenTypeHandler2
-
-
Constructor Summary
Constructors Constructor Description OpenTypeHandler0(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 context)
gets called when an value type is to be read from the database.TypeHandler4
readCandidateHandler(QueryingReadContext context)
will be called during querying to ask for the handler to be used to collect children of the handled objectObjectID
readObjectID(InternalReadContext context)
-
Methods inherited from class com.db4o.internal.handlers.versions.OpenTypeHandler2
seekSecondaryOffset
-
Methods inherited from class com.db4o.internal.OpenTypeHandler
activate, cascadeActivation, classReflector, collectIDs, container, correctTypeHandlerVersionFor, delete, equals, getID, hasField, hashCode, isPlainObject, linkLength, readTypeHandler, readTypeHandlerRestoreOffset, registerReflector, typeHandlerForObject, write
-
-
-
-
Constructor Detail
-
OpenTypeHandler0
public OpenTypeHandler0(ObjectContainerBase container)
-
-
Method Detail
-
read
public java.lang.Object read(ReadContext context)
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 classOpenTypeHandler7
- Returns:
- the read value type
-
readCandidateHandler
public TypeHandler4 readCandidateHandler(QueryingReadContext context)
Description copied from interface:CascadingTypeHandler
will be called during querying to ask for the handler to be used to collect children of the handled object- Specified by:
readCandidateHandler
in interfaceCascadingTypeHandler
- Overrides:
readCandidateHandler
in classOpenTypeHandler
- Returns:
-
readObjectID
public ObjectID readObjectID(InternalReadContext context)
- Overrides:
readObjectID
in classOpenTypeHandler
-
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 classOpenTypeHandler7
-
-