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 voidaddId()ClassMetadataclassMetadata()IdObjectCollectorcollector()static CollectIdContextforID(Transaction transaction, int id)static CollectIdContextforID(Transaction transaction, IdObjectCollector collector, int id)TreeIntids()voidreadID(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:
classMetadatain interfaceMarshallingInfo- Overrides:
classMetadatain classObjectHeaderContext
-
ids
public TreeInt ids()
-
readID
public void readID(ReadsObjectIds objectIDHandler)
-
collector
public IdObjectCollector collector()
-
-