Class OBonsaiCollectionPointer

java.lang.Object
com.orientechnologies.orient.core.storage.ridbag.sbtree.OBonsaiCollectionPointer

public class OBonsaiCollectionPointer extends Object
The pointer to a bonsai collection.

Determines where the collection is stored. Contains file id and pointer to the root bucket. Is immutable.

Since:
1.7rc1
Author:
Artem Orobets (enisher-at-gmail.com)
See Also:
  • Field Details

  • Constructor Details

    • OBonsaiCollectionPointer

      public OBonsaiCollectionPointer(long fileId, OBonsaiBucketPointer rootPointer)
  • Method Details

    • getFileId

      public long getFileId()
    • getRootPointer

      public OBonsaiBucketPointer getRootPointer()
    • isValid

      public boolean isValid()
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object