|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sleepycat.je.tree.INDupDeleteInfo
public class INDupDeleteInfo
INDupDeleteInfo encapsulates the information logged about the removal of a child from a duplicate IN during IN compression.
| Constructor Summary | |
|---|---|
INDupDeleteInfo()
Used by logging system only. |
|
INDupDeleteInfo(long deletedNodeId,
byte[] deletedMainKey,
byte[] deletedDupKey,
DatabaseId dbId)
Create a new delete info entry. |
|
| Method Summary | |
|---|---|
void |
dumpLog(StringBuilder 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(ByteBuffer itemBuffer,
int entryVersion)
Initialize this object from the data in itemBuf. |
void |
writeToLog(ByteBuffer logBuffer)
Serialize this object into the buffer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public INDupDeleteInfo(long deletedNodeId,
byte[] deletedMainKey,
byte[] deletedDupKey,
DatabaseId dbId)
public INDupDeleteInfo()
| Method Detail |
|---|
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(ByteBuffer logBuffer)
Loggable
writeToLog in interface LoggablelogBuffer - is the destination bufferLoggable.writeToLog(java.nio.ByteBuffer)
public void readFromLog(ByteBuffer itemBuffer,
int entryVersion)
Loggable
readFromLog in interface LoggableLoggable.readFromLog(java.nio.ByteBuffer, int)
public void dumpLog(StringBuilder sb,
boolean verbose)
Loggable
dumpLog in interface Loggablesb - destination string bufferverbose - if true, dump the full, verbose versionLoggable.dumpLog(java.lang.StringBuilder, 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||