public abstract class AbstractReadContext extends AbstractBufferContext implements InternalReadContext
| Modifier and Type | Field and Description |
|---|---|
protected ActivationDepth |
_activationDepth |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractReadContext(Transaction transaction) |
protected |
AbstractReadContext(Transaction transaction,
ReadBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
ActivationDepth |
activationDepth() |
void |
activationDepth(ActivationDepth depth) |
boolean |
lastReferenceReadWasReallyNull() |
void |
notifyNullReferenceSkipped() |
protected boolean |
peekPersisted() |
java.lang.Object |
read(TypeHandler4 handlerType) |
java.lang.Object |
readAtCurrentSeekPosition(TypeHandler4 handler) |
ReadWriteBuffer |
readIndirectedBuffer() |
java.lang.Object |
readObject()
Interprets the current position in the context as
an ID and returns the object with this ID.
|
java.lang.Object |
readObject(TypeHandler4 handlerType)
reads sub-objects, in cases where the
TypeHandler4
is known. |
buffer, buffer, container, handlerVersion, isLegacyHandlerVersion, objectContainer, offset, readBitMap, readByte, readBytes, readInt, readLong, seek, slotFormat, transactionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuffer, buffer, container, handlerVersion, offset, seekreadBitMap, readByte, readBytes, readInt, readLongslotFormatobjectContainer, transactionprotected ActivationDepth _activationDepth
protected AbstractReadContext(Transaction transaction, ReadBuffer buffer)
protected AbstractReadContext(Transaction transaction)
public final java.lang.Object read(TypeHandler4 handlerType)
read in interface InternalReadContextpublic final java.lang.Object readObject(TypeHandler4 handlerType)
ReadContextTypeHandler4
is known.readObject in interface ReadContextpublic java.lang.Object readAtCurrentSeekPosition(TypeHandler4 handler)
readAtCurrentSeekPosition in interface InternalReadContextpublic final java.lang.Object readObject()
ReadContextreadObject in interface ReadContextprotected boolean peekPersisted()
public ActivationDepth activationDepth()
public void activationDepth(ActivationDepth depth)
public ReadWriteBuffer readIndirectedBuffer()
readIndirectedBuffer in interface InternalReadContextpublic boolean lastReferenceReadWasReallyNull()
public void notifyNullReferenceSkipped()
notifyNullReferenceSkipped in interface InternalReadContext