Package com.db4o.internal.handlers.array
Class ArrayHandler0
- java.lang.Object
-
- com.db4o.internal.handlers.array.ArrayHandler
-
- com.db4o.internal.handlers.array.ArrayHandler5
-
- com.db4o.internal.handlers.array.ArrayHandler3
-
- com.db4o.internal.handlers.array.ArrayHandler1
-
- com.db4o.internal.handlers.array.ArrayHandler0
-
- All Implemented Interfaces:
DeepClone
,Comparable4
,VariableLengthTypeHandler
,VersionedTypeHandler
,CascadingTypeHandler
,QueryableTypeHandler
,TypeHandler4
,ValueTypeHandler
public class ArrayHandler0 extends ArrayHandler1
-
-
Field Summary
-
Fields inherited from class com.db4o.internal.handlers.array.ArrayHandler
_versionHelper
-
-
Constructor Summary
Constructors Constructor Description ArrayHandler0()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ArrayVersionHelper
createVersionHelper()
void
defragment(DefragmentContext context)
gets called when an object gets defragmented.static void
defragment(DefragmentContext context, ArrayHandler handler)
void
delete(DeleteContext context)
gets called when an object gets deleted.java.lang.Object
read(ReadContext readContext)
gets called when an value type is to be read from the database.protected void
withContent(AbstractBufferContext context, java.lang.Runnable runnable)
-
Methods inherited from class com.db4o.internal.handlers.array.ArrayHandler1
handleAsByteArray, handleAsByteArray
-
Methods inherited from class com.db4o.internal.handlers.array.ArrayHandler
allElements, allElements, analyze, analyzeDimensions, arrayReflector, cascadeActivation, classIDFromInfo, classIdToMarshalledClassId, classReflector, collectIDs, deepClone, defragmentSlot, delegateTypeHandler, deletePrimitiveEmbedded, descendsIntoMembers, equals, forEachElement, hashCode, hasNullBitmap, identifier, isPreVersion0Format, isPrimitive, iterator, linkLength, newArrayInfo, newInstance, newInstanceReflectClass, nullItemsMap, prepareComparison, primitiveClassReflector, readCandidateHandler, readCreate, readDimensions, readElements, readInfo, readInto, readNullBitmap, toString, unversionedTemplate, useJavaHandling, write, writeDimensions, writeElements, writeInfo
-
-
-
-
Method Detail
-
createVersionHelper
protected ArrayVersionHelper createVersionHelper()
- Overrides:
createVersionHelper
in classArrayHandler3
-
withContent
protected void withContent(AbstractBufferContext context, java.lang.Runnable runnable)
- Overrides:
withContent
in classArrayHandler
-
delete
public void delete(DeleteContext context) throws Db4oIOException
Description copied from interface:TypeHandler4
gets called when an object gets deleted.- Specified by:
delete
in interfaceTypeHandler4
- Overrides:
delete
in classArrayHandler
- Throws:
Db4oIOException
-
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 classArrayHandler
- Returns:
- the read value type
-
defragment
public static void defragment(DefragmentContext context, ArrayHandler handler)
-
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 classArrayHandler
-
-