| Modifier and Type | Field and Description |
|---|---|
static long |
NULL_NODE_ID |
| Modifier | Constructor and Description |
|---|---|
protected |
Node() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsDuplicates()
Since DIN/DBIN/DupCountLN are no longer used in the Btree, this method
should normally only be used by dup conversion or entities that do not
access records via the Btree.
|
void |
dump(int nSpaces) |
abstract LogEntryType |
getGenericLogType()
Returns the generic LogEntryType for this node.
|
int |
getLevel()
Cover for LN's and just return 0 since they'll always be at the bottom
of the tree.
|
long |
getMemorySizeIncludedByParent()
Return the approximate size of this node in memory, if this size should
be included in its parents memory accounting.
|
long |
getTransactionId() |
String |
getType() |
boolean |
isBIN() |
boolean |
isBINDelta() |
boolean |
isBINDelta(boolean checkLatched) |
boolean |
isDBIN() |
boolean |
isDIN() |
boolean |
isIN() |
boolean |
isLN() |
boolean |
isUpperIN() |
void |
latch() |
void |
latchShared() |
void |
latchShared(CacheMode ignore) |
void |
postFetchInit(DatabaseImpl db,
long sourceLsn)
Initialize a node that has been faulted in from the log.
|
void |
releaseLatch() |
String |
toString()
Default toString method at the root of the tree.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdumpLog, getLogSize, logicalEquals, readFromLog, writeToLogpublic static final long NULL_NODE_ID
public void postFetchInit(DatabaseImpl db, long sourceLsn) throws DatabaseException
DatabaseExceptionpublic void latch()
public void latchShared()
throws DatabaseException
DatabaseExceptionpublic void latchShared(CacheMode ignore) throws DatabaseException
DatabaseExceptionpublic void releaseLatch()
public boolean containsDuplicates()
public int getLevel()
public boolean isLN()
public boolean isIN()
public boolean isUpperIN()
public boolean isBIN()
public boolean isBINDelta()
public boolean isBINDelta(boolean checkLatched)
public boolean isDIN()
public boolean isDBIN()
public long getMemorySizeIncludedByParent()
public String toString()
public void dump(int nSpaces)
public String getType()
public abstract LogEntryType getGenericLogType()
public long getTransactionId()
getTransactionId in interface LoggableCopyright © 2024. All rights reserved.