
public class ODirectoryPage extends ODurablePage
| Modifier and Type | Field and Description |
|---|---|
static int |
NODES_PER_PAGE |
CRC32_OFFSET, MAGIC_NUMBER_OFFSET, MAX_PAGE_SIZE_BYTES, NEXT_FREE_POSITION, WAL_POSITION_OFFSET, WAL_SEGMENT_OFFSET| Constructor and Description |
|---|
ODirectoryPage(OCacheEntry cacheEntry,
OCacheEntry entry) |
| Modifier and Type | Method and Description |
|---|---|
OCacheEntry |
getEntry() |
protected int |
getItemsOffset() |
byte |
getMaxLeftChildDepth(int localNodeIndex) |
byte |
getMaxRightChildDepth(int localNodeIndex) |
byte |
getNodeLocalDepth(int localNodeIndex) |
long |
getPointer(int localNodeIndex,
int index) |
void |
setMaxLeftChildDepth(int localNodeIndex,
byte maxLeftChildDepth) |
void |
setMaxRightChildDepth(int localNodeIndex,
byte maxRightChildDepth) |
void |
setNodeLocalDepth(int localNodeIndex,
byte nodeLocalDepth) |
void |
setPointer(int localNodeIndex,
int index,
long pointer) |
deserializeFromDirectMemory, getBinaryValue, getByteValue, getChanges, getIntValue, getLogSequenceNumber, getLogSequenceNumberFromPage, getLongValue, getLsn, getObjectSizeInDirectMemory, getPageData, getShortValue, moveData, restoreChanges, setBinaryValue, setByteValue, setIntValue, setLongValue, setLsn, setShortValue, toStringpublic ODirectoryPage(OCacheEntry cacheEntry, OCacheEntry entry)
public OCacheEntry getEntry()
public void setMaxLeftChildDepth(int localNodeIndex,
byte maxLeftChildDepth)
public byte getMaxLeftChildDepth(int localNodeIndex)
public void setMaxRightChildDepth(int localNodeIndex,
byte maxRightChildDepth)
public byte getMaxRightChildDepth(int localNodeIndex)
public void setNodeLocalDepth(int localNodeIndex,
byte nodeLocalDepth)
public byte getNodeLocalDepth(int localNodeIndex)
public void setPointer(int localNodeIndex,
int index,
long pointer)
throws IOException
IOExceptionpublic long getPointer(int localNodeIndex,
int index)
protected int getItemsOffset()
Copyright © 2009–2025 OrientDB. All rights reserved.