public final class CellBTreeMultiValueV2Bucket<K> extends ODurablePage
Modifier and Type | Class and Description |
---|---|
protected static class |
CellBTreeMultiValueV2Bucket.Entry |
static class |
CellBTreeMultiValueV2Bucket.LeafEntry |
static class |
CellBTreeMultiValueV2Bucket.NonLeafEntry |
CRC32_OFFSET, MAGIC_NUMBER_OFFSET, MAX_PAGE_SIZE_BYTES, NEXT_FREE_POSITION, WAL_POSITION_OFFSET, WAL_SEGMENT_OFFSET
Constructor and Description |
---|
CellBTreeMultiValueV2Bucket(OCacheEntry cacheEntry) |
Modifier and Type | Method and Description |
---|---|
void |
addAll(List<? extends CellBTreeMultiValueV2Bucket.Entry> entries,
OBinarySerializer<K> keySerializer,
boolean isEncrypted) |
boolean |
addNonLeafEntry(int index,
byte[] serializedKey,
int leftChild,
int rightChild,
boolean updateNeighbors) |
long |
appendNewLeafEntry(int index,
ORID value) |
boolean |
createMainLeafEntry(int index,
byte[] serializedKey,
ORID value,
long mId) |
boolean |
decrementEntriesCount(int entryIndex) |
K |
getKey(int index,
OBinarySerializer<K> keySerializer,
OEncryption encryption) |
CellBTreeMultiValueV2Bucket.LeafEntry |
getLeafEntry(int entryIndex,
OBinarySerializer<K> keySerializer,
boolean isEncrypted) |
long |
getLeftSibling() |
CellBTreeMultiValueV2Bucket.NonLeafEntry |
getNonLeafEntry(int entryIndex,
OBinarySerializer<K> keySerializer,
boolean isEncrypted) |
long |
getRightSibling() |
void |
incrementEntriesCount(int entryIndex) |
void |
init(boolean isLeaf) |
boolean |
isLeaf() |
int |
removeLeafEntry(int entryIndex,
ORID value) |
void |
removeMainLeafEntry(int entryIndex,
int keySize) |
void |
removeNonLeafEntry(int entryIndex,
byte[] key,
int prevChild) |
void |
setLeftSibling(long pageIndex) |
void |
setRightSibling(long pageIndex) |
void |
shrink(int newSize,
OBinarySerializer<K> keySerializer,
boolean isEncrypted) |
int |
size() |
void |
switchBucketType() |
addPageOperation, deserializeFromDirectMemory, getBinaryValue, getByteValue, getCacheEntry, getChanges, getIntValue, getLogSequenceNumber, getLogSequenceNumberFromPage, getLongValue, getLsn, getLSN, getObjectSizeInDirectMemory, getPageData, getShortValue, moveData, restoreChanges, setBinaryValue, setByteValue, setIntValue, setLongValue, setLsn, setPageLSN, setShortValue, toString
public CellBTreeMultiValueV2Bucket(OCacheEntry cacheEntry)
public void init(boolean isLeaf)
public void switchBucketType()
public int removeLeafEntry(int entryIndex, ORID value)
public boolean decrementEntriesCount(int entryIndex)
public void removeMainLeafEntry(int entryIndex, int keySize)
public void incrementEntriesCount(int entryIndex)
public int size()
public CellBTreeMultiValueV2Bucket.LeafEntry getLeafEntry(int entryIndex, OBinarySerializer<K> keySerializer, boolean isEncrypted)
public CellBTreeMultiValueV2Bucket.NonLeafEntry getNonLeafEntry(int entryIndex, OBinarySerializer<K> keySerializer, boolean isEncrypted)
public K getKey(int index, OBinarySerializer<K> keySerializer, OEncryption encryption)
public boolean isLeaf()
public void addAll(List<? extends CellBTreeMultiValueV2Bucket.Entry> entries, OBinarySerializer<K> keySerializer, boolean isEncrypted)
public void shrink(int newSize, OBinarySerializer<K> keySerializer, boolean isEncrypted)
public boolean createMainLeafEntry(int index, byte[] serializedKey, ORID value, long mId)
public long appendNewLeafEntry(int index, ORID value)
public boolean addNonLeafEntry(int index, byte[] serializedKey, int leftChild, int rightChild, boolean updateNeighbors)
public void removeNonLeafEntry(int entryIndex, byte[] key, int prevChild)
public void setLeftSibling(long pageIndex)
public long getLeftSibling()
public void setRightSibling(long pageIndex)
public long getRightSibling()
Copyright © 2009–2020 OrientDB. All rights reserved.