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 protected
SlotFormat()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static SlotFormat
current()
java.lang.Object
doWithSlotIndirection(ReadBuffer buffer, Closure4 closure)
java.lang.Object
doWithSlotIndirection(ReadBuffer buffer, TypeHandler4 typeHandler, Closure4 closure)
boolean
equals(java.lang.Object obj)
static SlotFormat
forHandlerVersion(int handlerVersion)
protected abstract int
handlerVersion()
int
hashCode()
abstract boolean
isIndirectedWithinSlot(TypeHandler4 handler)
ObjectHeaderAttributes
readHeaderAttributes(ByteArrayBuffer reader)
void
skipMarshallerInfo(ByteArrayBuffer reader)
void
writeObjectClassID(ByteArrayBuffer buffer, int id)
-
-
-
Method Detail
-
forHandlerVersion
public static final SlotFormat forHandlerVersion(int handlerVersion)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in 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)
-
-