java.lang.Object
com.orientechnologies.orient.core.storage.index.sbtreebonsai.local.OBonsaiBucketPointer

public class OBonsaiBucketPointer extends Object
A pointer to bucket in disk page. Defines the page and the offset in page where the bucket is placed. Is immutable.
Author:
Artem Orobets (enisher-at-gmail.com)
  • Field Details

  • Constructor Details

    • OBonsaiBucketPointer

      public OBonsaiBucketPointer(long pageIndex, int pageOffset)
  • Method Details

    • getPageIndex

      public long getPageIndex()
    • getPageOffset

      public int getPageOffset()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • isValid

      public boolean isValid()