Interface PrimaryIndex


public interface PrimaryIndex
Author:
angele
  • Method Details

    • addTuple

      boolean addTuple(TupleBuffer tuple) throws IOException
      Throws:
      IOException
    • addTuple

      boolean addTuple(int tuple) throws IOException
      Throws:
      IOException
    • sizeInBytes

      int sizeInBytes()
    • elements

      TupleEnumerator elements()
    • containsTuple

      boolean containsTuple(long[] values) throws IOException
      returns true if there exist matching values
      Parameters:
      values - , values for indexed positions
      Returns:
      boolean, true if there exist matching values
      Throws:
      IOException
    • containsTuple

      boolean containsTuple(TupleBuffer values) throws IOException
      returns true if there exist matching values
      Parameters:
      values - , values for indexed positions
      Returns:
      boolean, true if there exist matching values
      Throws:
      IOException
    • removeTuple

      boolean removeTuple(int i)
    • getIndexedPositions

      int[] getIndexedPositions()