Class CellBTreeMultiValueV2NullBucket

java.lang.Object
com.orientechnologies.orient.core.storage.impl.local.paginated.base.ODurablePage
com.orientechnologies.orient.core.storage.index.sbtree.multivalue.v2.CellBTreeMultiValueV2NullBucket

public final class CellBTreeMultiValueV2NullBucket extends ODurablePage
Bucket which is intended to save values stored in sbtree under null key. Bucket has following layout:
  1. First byte is flag which indicates presence of value in bucket
  2. Second byte indicates whether value is presented by link to the "bucket list" where actual value is stored or real value passed be user.
  3. The rest is serialized value whether link or passed in value.
Since:
4/15/14
Author:
Andrey Lomakin (a.lomakin-at-orientdb.com)
  • Constructor Details

    • CellBTreeMultiValueV2NullBucket

      public CellBTreeMultiValueV2NullBucket(OCacheEntry cacheEntry)
  • Method Details

    • init

      public void init(long mId)
    • addValue

      public long addValue(ORID rid)
    • incrementSize

      public void incrementSize()
    • decrementSize

      public void decrementSize()
    • getValues

      public List<ORID> getValues()
    • getMid

      public long getMid()
    • getSize

      public int getSize()
    • removeValue

      public int removeValue(ORID rid)