Interface IndexedData

All Superinterfaces:
AutoCloseable, Closeable
All Known Implementing Classes:
IndexSnapshot, StreamingIndexedData

public interface IndexedData extends Closeable
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final long
     
    static final long
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    appendTo(long position, PageBuilder pageBuilder, int outputChannelOffset)
     
    void
     
    long
    getJoinPosition(int position, Page page)
    Returns UNLOADED_INDEX_KEY if the key has not been loaded.
    long
    getNextJoinPosition(long currentPosition)
    Returns the next address to join.
  • Field Details

  • Method Details

    • getJoinPosition

      long getJoinPosition(int position, Page page)
      Returns UNLOADED_INDEX_KEY if the key has not been loaded. Returns NO_MORE_POSITIONS if the key has been loaded, but has no values. Returns a valid address if the key has been loaded and has values.
    • getNextJoinPosition

      long getNextJoinPosition(long currentPosition)
      Returns the next address to join. Returns NO_MORE_POSITIONS if there are no more values to join.
    • appendTo

      void appendTo(long position, PageBuilder pageBuilder, int outputChannelOffset)
    • close

      void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable