private static final class IndexData.NodeEntry extends IndexData.Entry
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Integer |
_subPageNumber
index page number of the page to which this node entry refers
|
| Modifier | Constructor and Description |
|---|---|
private |
NodeEntry(byte[] entryBytes,
RowIdImpl rowId,
IndexData.EntryType type,
java.lang.Integer subPageNumber)
Create a new node entry
|
private |
NodeEntry(java.nio.ByteBuffer buffer,
int entryLen)
Read an existing node entry in from a buffer
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.Integer |
getSubPageNumber() |
boolean |
isLeafEntry() |
protected int |
size()
Size of this entry in the db.
|
java.lang.String |
toString() |
protected void |
write(java.nio.ByteBuffer buffer,
byte[] prefix)
Write this entry into a buffer
|
asNodeEntry, compareTo, entryBytesToStringBuilder, equalsEntryBytes, getEntryBytes, getRowId, getType, hashCode, isValidprivate final java.lang.Integer _subPageNumber
private NodeEntry(byte[] entryBytes,
RowIdImpl rowId,
IndexData.EntryType type,
java.lang.Integer subPageNumber)
entryBytes - encoded bytes for this index entryrowId - rowId in which the row is storedtype - the type of the entrysubPageNumber - the sub-page to which this node entry refersprivate NodeEntry(java.nio.ByteBuffer buffer,
int entryLen)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.Integer getSubPageNumber()
getSubPageNumber in class IndexData.Entrypublic boolean isLeafEntry()
isLeafEntry in class IndexData.Entryprotected int size()
IndexData.Entrysize in class IndexData.Entryprotected void write(java.nio.ByteBuffer buffer,
byte[] prefix)
throws java.io.IOException
IndexData.Entrywrite in class IndexData.Entryjava.io.IOExceptionpublic boolean equals(java.lang.Object o)
equals in class IndexData.Entrypublic java.lang.String toString()
toString in class IndexData.Entry