java.lang.Object
com.semedy.reasoner.edb.persistentstore.bplustree.IndexStore

public class IndexStore extends Object
  • Field Details

    • _elementData

      public long[] _elementData
      the memory piece where all indices are residing in a sequence
  • Constructor Details

  • Method Details

    • newIndex

      public int newIndex(int len) throws IOException
      create a new index of length len and return the address
      Parameters:
      len -
      Returns:
      Throws:
      IOException
    • getElementData

      public long[] getElementData()
      return the data
      Returns:
    • newIndex

      public int newIndex(long[] buf) throws IOException
      create a new index and copy buf into that index and return the address
      Parameters:
      buf -
      Returns:
      Throws:
      IOException
    • removeIndex

      public void removeIndex(int address)
      remove an index at address
      Parameters:
      address -
    • size

      public int size()
      return the number of tuples
      Returns:
    • clear

      public void clear()
      clear the tuple store
    • clone

      public IndexStore clone()
      clone a tuple store with the whole content