Class CellBTreeMultiValueV2Bucket<K>

java.lang.Object
com.orientechnologies.orient.core.storage.impl.local.paginated.base.ODurablePage
com.orientechnologies.orient.core.storage.index.sbtree.multivalue.v2.CellBTreeMultiValueV2Bucket<K>

public final class CellBTreeMultiValueV2Bucket<K> extends ODurablePage
Since:
8/7/13
Author:
Andrey Lomakin (a.lomakin-at-orientdb.com)
  • Constructor Details

    • CellBTreeMultiValueV2Bucket

      public CellBTreeMultiValueV2Bucket(OCacheEntry cacheEntry)
  • Method Details

    • init

      public void init(boolean isLeaf)
    • switchBucketType

      public void switchBucketType()
    • removeLeafEntry

      public int removeLeafEntry(int entryIndex, ORID value)
    • decrementEntriesCount

      public boolean decrementEntriesCount(int entryIndex)
    • removeMainLeafEntry

      public void removeMainLeafEntry(int entryIndex, int keySize)
    • incrementEntriesCount

      public void incrementEntriesCount(int entryIndex)
    • size

      public int size()
    • getLeafEntry

      public CellBTreeMultiValueV2Bucket.LeafEntry getLeafEntry(int entryIndex, OBinarySerializer<K> keySerializer, boolean isEncrypted)
    • getNonLeafEntry

      public CellBTreeMultiValueV2Bucket.NonLeafEntry getNonLeafEntry(int entryIndex, OBinarySerializer<K> keySerializer, boolean isEncrypted)
    • getKey

      public K getKey(int index, OBinarySerializer<K> keySerializer, OEncryption encryption)
    • isLeaf

      public boolean isLeaf()
    • addAll

      public void addAll(List<? extends CellBTreeMultiValueV2Bucket.Entry> entries, OBinarySerializer<K> keySerializer, boolean isEncrypted)
    • shrink

      public void shrink(int newSize, OBinarySerializer<K> keySerializer, boolean isEncrypted)
    • createMainLeafEntry

      public boolean createMainLeafEntry(int index, byte[] serializedKey, ORID value, long mId)
    • appendNewLeafEntry

      public long appendNewLeafEntry(int index, ORID value)
    • addNonLeafEntry

      public boolean addNonLeafEntry(int index, byte[] serializedKey, int leftChild, int rightChild, boolean updateNeighbors)
    • removeNonLeafEntry

      public void removeNonLeafEntry(int entryIndex, byte[] key, int prevChild)
    • setLeftSibling

      public void setLeftSibling(long pageIndex)
    • getLeftSibling

      public long getLeftSibling()
    • setRightSibling

      public void setRightSibling(long pageIndex)
    • getRightSibling

      public long getRightSibling()