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 void
add(java.lang.Object obj)
void
addId(int id)
QCandidates
candidates()
int
collectionID()
IdObjectCollector
collector()
int
declaredAspectCount()
void
declaredAspectCount(int count)
int
handlerVersion()
TreeInt
ids()
int
objectId()
Iterator4
objectsWithoutId()
void
readId(TypeHandler4 handler)
void
skipId(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:
handlerVersion
in interfaceHandlerVersionContext
- Specified by:
handlerVersion
in interfaceInternalReadContext
- Specified by:
handlerVersion
in 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:
declaredAspectCount
in interfaceAspectVersionContext
-
declaredAspectCount
public void declaredAspectCount(int count)
- Specified by:
declaredAspectCount
in interfaceAspectVersionContext
-
collector
public IdObjectCollector collector()
-
objectId
public int objectId()
- Specified by:
objectId
in interfaceObjectIdContext
-
-