Interface LookupSource

All Superinterfaces:
AutoCloseable, Closeable
All Known Implementing Classes:
IndexLookupSource, JoinHash, OuterLookupSource, PartitionedLookupSource, PartitionedLookupSource

@NotThreadSafe public interface LookupSource extends Closeable
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    appendTo(long position, PageBuilder pageBuilder, int outputChannelOffset)
     
    void
     
    long
     
    default void
    getJoinPosition(int[] positions, Page hashChannelsPage, Page allChannelsPage, long[] result)
    The `result` array is global to the entire processed page, while the `positions` array may hold any number of selected positions from this page
    default void
    getJoinPosition(int[] positions, Page hashChannelsPage, Page allChannelsPage, long[] rawHashes, long[] result)
    The `rawHashes` and `result` arrays are global to the entire processed page (thus, the same size), while the `positions` array may hold any number of selected positions from this page
    long
    getJoinPosition(int position, Page hashChannelsPage, Page allChannelsPage)
     
    long
    getJoinPosition(int position, Page hashChannelsPage, Page allChannelsPage, long rawHash)
     
    long
     
    long
    getNextJoinPosition(long currentJoinPosition, int probePosition, Page allProbeChannelsPage)
     
    boolean
     
    boolean
    isJoinPositionEligible(long currentJoinPosition, int probePosition, Page allProbeChannelsPage)
     
    long
    joinPositionWithinPartition(long joinPosition)
     
  • Method Details

    • getInMemorySizeInBytes

      long getInMemorySizeInBytes()
    • getJoinPositionCount

      long getJoinPositionCount()
    • joinPositionWithinPartition

      long joinPositionWithinPartition(long joinPosition)
    • getJoinPosition

      default void getJoinPosition(int[] positions, Page hashChannelsPage, Page allChannelsPage, long[] rawHashes, long[] result)
      The `rawHashes` and `result` arrays are global to the entire processed page (thus, the same size), while the `positions` array may hold any number of selected positions from this page
    • getJoinPosition

      long getJoinPosition(int position, Page hashChannelsPage, Page allChannelsPage, long rawHash)
    • getJoinPosition

      default void getJoinPosition(int[] positions, Page hashChannelsPage, Page allChannelsPage, long[] result)
      The `result` array is global to the entire processed page, while the `positions` array may hold any number of selected positions from this page
    • getJoinPosition

      long getJoinPosition(int position, Page hashChannelsPage, Page allChannelsPage)
    • getNextJoinPosition

      long getNextJoinPosition(long currentJoinPosition, int probePosition, Page allProbeChannelsPage)
    • appendTo

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

      boolean isJoinPositionEligible(long currentJoinPosition, int probePosition, Page allProbeChannelsPage)
    • isEmpty

      boolean isEmpty()
    • close

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