Package com.db4o.internal.marshall
Class QueryingReadContext
- java.lang.Object
-
- com.db4o.internal.AbstractBufferContext
-
- com.db4o.internal.marshall.AbstractReadContext
-
- com.db4o.internal.marshall.QueryingReadContext
-
- All Implemented Interfaces:
AspectVersionContext,HandlerVersionContext,InternalReadContext,ObjectIdContext,BufferContext,Context,ReadBuffer,ReadContext
public class QueryingReadContext extends AbstractReadContext implements HandlerVersionContext, AspectVersionContext, ObjectIdContext
-
-
Field Summary
-
Fields inherited from class com.db4o.internal.marshall.AbstractReadContext
_activationDepth
-
-
Constructor Summary
Constructors Constructor Description QueryingReadContext(Transaction transaction, int handlerVersion, ReadBuffer buffer, int id)QueryingReadContext(Transaction transaction, int handlerVersion, ReadBuffer buffer, int collectionID, IdObjectCollector collector)QueryingReadContext(Transaction transaction, QCandidates candidates, int handlerVersion, ReadBuffer buffer, int collectionID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(java.lang.Object obj)voidaddId(int id)QCandidatescandidates()intcollectionID()IdObjectCollectorcollector()intdeclaredAspectCount()voiddeclaredAspectCount(int count)inthandlerVersion()TreeIntids()intobjectId()Iterator4objectsWithoutId()voidreadId(TypeHandler4 handler)voidskipId(TypeHandler4 handler)-
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, notifyNullReferenceSkipped, offset, read, readAtCurrentSeekPosition, readIndirectedBuffer, seek
-
Methods inherited from interface com.db4o.marshall.ReadBuffer
readBitMap, readByte, readBytes, readInt, readLong
-
Methods inherited from interface com.db4o.marshall.ReadContext
readObject, readObject
-
-
-
-
Constructor Detail
-
QueryingReadContext
public QueryingReadContext(Transaction transaction, QCandidates candidates, int handlerVersion, ReadBuffer buffer, int collectionID)
-
QueryingReadContext
public QueryingReadContext(Transaction transaction, int handlerVersion, ReadBuffer buffer, int id)
-
QueryingReadContext
public QueryingReadContext(Transaction transaction, int handlerVersion, ReadBuffer buffer, int collectionID, IdObjectCollector collector)
-
-
Method Detail
-
collectionID
public int collectionID()
-
candidates
public QCandidates candidates()
-
handlerVersion
public int handlerVersion()
- Specified by:
handlerVersionin interfaceHandlerVersionContext- Specified by:
handlerVersionin interfaceInternalReadContext- Specified by:
handlerVersionin classAbstractBufferContext
-
addId
public void addId(int id)
-
ids
public TreeInt ids()
-
add
public void add(java.lang.Object obj)
-
readId
public void readId(TypeHandler4 handler)
-
skipId
public void skipId(TypeHandler4 handler)
-
objectsWithoutId
public Iterator4 objectsWithoutId()
-
declaredAspectCount
public int declaredAspectCount()
- Specified by:
declaredAspectCountin interfaceAspectVersionContext
-
declaredAspectCount
public void declaredAspectCount(int count)
- Specified by:
declaredAspectCountin interfaceAspectVersionContext
-
collector
public IdObjectCollector collector()
-
objectId
public int objectId()
- Specified by:
objectIdin interfaceObjectIdContext
-
-