Package com.db4o.internal.marshall
Class CollectIdContext
- java.lang.Object
-
- com.db4o.internal.AbstractBufferContext
-
- com.db4o.internal.marshall.AbstractReadContext
-
- com.db4o.internal.marshall.ObjectHeaderContext
-
- com.db4o.internal.marshall.CollectIdContext
-
- All Implemented Interfaces:
AspectVersionContext
,HandlerVersionContext
,InternalReadContext
,MarshallingInfo
,BufferContext
,Context
,ReadBuffer
,ReadContext
public class CollectIdContext extends ObjectHeaderContext
-
-
Field Summary
-
Fields inherited from class com.db4o.internal.marshall.ObjectHeaderContext
_objectHeader
-
Fields inherited from class com.db4o.internal.marshall.AbstractReadContext
_activationDepth
-
-
Constructor Summary
Constructors Constructor Description CollectIdContext(Transaction transaction, IdObjectCollector collector, ObjectHeader oh, ReadBuffer buffer)
CollectIdContext(Transaction transaction, ObjectHeader oh, ReadBuffer buffer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addId()
ClassMetadata
classMetadata()
IdObjectCollector
collector()
static CollectIdContext
forID(Transaction transaction, int id)
static CollectIdContext
forID(Transaction transaction, IdObjectCollector collector, int id)
TreeInt
ids()
void
readID(ReadsObjectIds objectIDHandler)
-
Methods inherited from class com.db4o.internal.marshall.ObjectHeaderContext
beginSlot, declaredAspectCount, declaredAspectCount, handlerVersion, headerAttributes, isNull, restoreState, saveState
-
Methods inherited from class com.db4o.internal.marshall.AbstractReadContext
activationDepth, activationDepth, lastReferenceReadWasReallyNull, notifyNullReferenceSkipped, peekPersisted, read, readAtCurrentSeekPosition, readIndirectedBuffer, readObject, readObject
-
Methods inherited from class com.db4o.internal.AbstractBufferContext
buffer, buffer, container, isLegacyHandlerVersion, objectContainer, offset, readBitMap, readByte, readBytes, readInt, readLong, seek, slotFormat, transaction
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.db4o.marshall.Context
objectContainer, transaction
-
Methods inherited from interface com.db4o.internal.marshall.HandlerVersionContext
slotFormat
-
Methods inherited from interface com.db4o.internal.marshall.InternalReadContext
buffer, buffer, container, offset, seek
-
Methods inherited from interface com.db4o.internal.marshall.MarshallingInfo
buffer
-
Methods inherited from interface com.db4o.marshall.ReadBuffer
readBitMap, readByte, readBytes, readInt, readLong
-
-
-
-
Constructor Detail
-
CollectIdContext
public CollectIdContext(Transaction transaction, IdObjectCollector collector, ObjectHeader oh, ReadBuffer buffer)
-
CollectIdContext
public CollectIdContext(Transaction transaction, ObjectHeader oh, ReadBuffer buffer)
-
-
Method Detail
-
forID
public static CollectIdContext forID(Transaction transaction, int id)
-
forID
public static CollectIdContext forID(Transaction transaction, IdObjectCollector collector, int id)
-
addId
public void addId()
-
classMetadata
public ClassMetadata classMetadata()
- Specified by:
classMetadata
in interfaceMarshallingInfo
- Overrides:
classMetadata
in classObjectHeaderContext
-
ids
public TreeInt ids()
-
readID
public void readID(ReadsObjectIds objectIDHandler)
-
collector
public IdObjectCollector collector()
-
-