public class OldBINDelta extends Object implements Loggable
| Constructor and Description |
|---|
OldBINDelta()
For instantiating from the log.
|
OldBINDelta(SizeofMarker marker)
For Sizeof.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dumpLog(StringBuilder sb,
boolean verbose)
Write the object into the string buffer for log dumping.
|
DatabaseId |
getDbId() |
long |
getLastFullLsn() |
int |
getLogSize() |
long |
getMemorySize()
Returns the number of bytes occupied by this object.
|
long |
getPrevDeltaLsn() |
byte[] |
getSearchKey()
Returns a key that can be used to find the BIN associated with this
delta.
|
long |
getTransactionId() |
boolean |
logicalEquals(Loggable other)
Always return false, this item should never be compared.
|
void |
readFromLog(ByteBuffer itemBuffer,
int entryVersion)
Initialize this object from the data in itemBuf.
|
BIN |
reconstituteBIN(DatabaseImpl dbImpl)
Create a BIN by fetching the full version and applying the deltas.
|
void |
reconstituteBIN(DatabaseImpl dbImpl,
BIN fullBIN)
Given a full version BIN, apply the deltas.
|
void |
writeToLog(ByteBuffer logBuffer)
Serialize this object into the buffer.
|
public OldBINDelta()
public OldBINDelta(SizeofMarker marker)
public DatabaseId getDbId()
public long getLastFullLsn()
public long getPrevDeltaLsn()
public byte[] getSearchKey()
public BIN reconstituteBIN(DatabaseImpl dbImpl)
public void reconstituteBIN(DatabaseImpl dbImpl, BIN fullBIN)
public int getLogSize()
getLogSize in interface Loggablepublic void writeToLog(ByteBuffer logBuffer)
LoggablewriteToLog in interface LoggablelogBuffer - is the destination bufferpublic void readFromLog(ByteBuffer itemBuffer, int entryVersion)
LoggablereadFromLog in interface LoggableitemBuffer - the source bufferentryVersion - the log version of the datapublic void dumpLog(StringBuilder sb, boolean verbose)
Loggablepublic long getTransactionId()
getTransactionId in interface Loggablepublic boolean logicalEquals(Loggable other)
logicalEquals in interface Loggablepublic long getMemorySize()
Copyright © 2024. All rights reserved.