| Constructor and Description |
|---|
INDupDeleteInfo()
Used by logging system only.
|
INDupDeleteInfo(long deletedNodeId,
byte[] deletedMainKey,
byte[] deletedDupKey,
DatabaseId dbId)
Create a new delete info entry.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dumpLog(java.lang.StringBuffer sb,
boolean verbose)
Write the object into the string buffer for log dumping.
|
DatabaseId |
getDatabaseId() |
byte[] |
getDeletedDupKey() |
byte[] |
getDeletedMainKey() |
long |
getDeletedNodeId() |
int |
getLogSize() |
long |
getTransactionId() |
boolean |
logicalEquals(Loggable other) |
void |
optionalLog(LogManager logManager,
DatabaseImpl dbImpl) |
void |
readFromLog(java.nio.ByteBuffer itemBuffer,
byte entryVersion)
Initialize this object from the data in itemBuf.
|
void |
writeToLog(java.nio.ByteBuffer logBuffer)
Serialize this object into the buffer.
|
public INDupDeleteInfo(long deletedNodeId,
byte[] deletedMainKey,
byte[] deletedDupKey,
DatabaseId dbId)
public INDupDeleteInfo()
public long getDeletedNodeId()
public byte[] getDeletedMainKey()
public byte[] getDeletedDupKey()
public DatabaseId getDatabaseId()
public void optionalLog(LogManager logManager, DatabaseImpl dbImpl) throws DatabaseException
DatabaseExceptionpublic int getLogSize()
getLogSize in interface LoggableLoggable.getLogSize()public void writeToLog(java.nio.ByteBuffer logBuffer)
LoggablewriteToLog in interface LoggablelogBuffer - is the destination bufferLoggable.writeToLog(java.nio.ByteBuffer)public void readFromLog(java.nio.ByteBuffer itemBuffer,
byte entryVersion)
throws LogException
LoggablereadFromLog in interface LoggableLogExceptionLoggable.readFromLog(java.nio.ByteBuffer, byte)public void dumpLog(java.lang.StringBuffer sb,
boolean verbose)
LoggabledumpLog in interface Loggablesb - destination string bufferverbose - if true, dump the full, verbose versionLoggable.dumpLog(java.lang.StringBuffer, boolean)public long getTransactionId()
getTransactionId in interface LoggableLoggable.getTransactionId()public boolean logicalEquals(Loggable other)
logicalEquals in interface LoggableAlways return false, this item should never be compared.