Package com.db4o.internal.handlers.array
Class ArrayVersionHelper
- java.lang.Object
-
- com.db4o.internal.handlers.array.ArrayVersionHelper
-
- Direct Known Subclasses:
ArrayVersionHelper5
public class ArrayVersionHelper extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ArrayVersionHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
classIDFromInfo(ObjectContainerBase container, ArrayInfo info)
int
classIdToMarshalledClassId(int classID, boolean primitive)
ReflectClass
classReflector(Reflector reflector, ClassMetadata classMetadata, boolean isPrimitive)
boolean
hasNullBitmap(ArrayInfo info)
boolean
isPreVersion0Format(int elementCount)
boolean
isPrimitive(Reflector reflector, ReflectClass claxx, ClassMetadata classMetadata)
void
readTypeInfo(Transaction trans, ReadBuffer buffer, ArrayInfo info, int classID)
ReflectClass
reflectClassFromElementsEntry(ObjectContainerBase container, ArrayInfo info, int classID)
boolean
useJavaHandling()
void
writeTypeInfo(WriteContext context, ArrayInfo info)
-
-
-
Method Detail
-
classIDFromInfo
public int classIDFromInfo(ObjectContainerBase container, ArrayInfo info)
-
classIdToMarshalledClassId
public int classIdToMarshalledClassId(int classID, boolean primitive)
-
classReflector
public ReflectClass classReflector(Reflector reflector, ClassMetadata classMetadata, boolean isPrimitive)
-
useJavaHandling
public boolean useJavaHandling()
-
hasNullBitmap
public boolean hasNullBitmap(ArrayInfo info)
-
isPreVersion0Format
public boolean isPreVersion0Format(int elementCount)
-
isPrimitive
public boolean isPrimitive(Reflector reflector, ReflectClass claxx, ClassMetadata classMetadata)
-
reflectClassFromElementsEntry
public ReflectClass reflectClassFromElementsEntry(ObjectContainerBase container, ArrayInfo info, int classID)
-
writeTypeInfo
public void writeTypeInfo(WriteContext context, ArrayInfo info)
-
readTypeInfo
public void readTypeInfo(Transaction trans, ReadBuffer buffer, ArrayInfo info, int classID)
-
-