Package com.db4o.internal.marshall
Class SlotFormat
- java.lang.Object
-
- com.db4o.internal.marshall.SlotFormat
-
- Direct Known Subclasses:
SlotFormat0,SlotFormat2,SlotFormatCurrent
public abstract class SlotFormat extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSlotFormat()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static SlotFormatcurrent()java.lang.ObjectdoWithSlotIndirection(ReadBuffer buffer, Closure4 closure)java.lang.ObjectdoWithSlotIndirection(ReadBuffer buffer, TypeHandler4 typeHandler, Closure4 closure)booleanequals(java.lang.Object obj)static SlotFormatforHandlerVersion(int handlerVersion)protected abstract inthandlerVersion()inthashCode()abstract booleanisIndirectedWithinSlot(TypeHandler4 handler)ObjectHeaderAttributesreadHeaderAttributes(ByteArrayBuffer reader)voidskipMarshallerInfo(ByteArrayBuffer reader)voidwriteObjectClassID(ByteArrayBuffer buffer, int id)
-
-
-
Method Detail
-
forHandlerVersion
public static final SlotFormat forHandlerVersion(int handlerVersion)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
handlerVersion
protected abstract int handlerVersion()
-
isIndirectedWithinSlot
public abstract boolean isIndirectedWithinSlot(TypeHandler4 handler)
-
current
public static SlotFormat current()
-
doWithSlotIndirection
public java.lang.Object doWithSlotIndirection(ReadBuffer buffer, TypeHandler4 typeHandler, Closure4 closure)
-
doWithSlotIndirection
public java.lang.Object doWithSlotIndirection(ReadBuffer buffer, Closure4 closure)
-
writeObjectClassID
public void writeObjectClassID(ByteArrayBuffer buffer, int id)
-
skipMarshallerInfo
public void skipMarshallerInfo(ByteArrayBuffer reader)
-
readHeaderAttributes
public ObjectHeaderAttributes readHeaderAttributes(ByteArrayBuffer reader)
-
-