Class ArrayPositionLinks

java.lang.Object
io.trino.operator.join.ArrayPositionLinks
All Implemented Interfaces:
PositionLinks

public final class ArrayPositionLinks extends Object implements PositionLinks
  • Method Details

    • builder

      public static ArrayPositionLinks.FactoryBuilder builder(int size)
    • start

      public int start(int position, int probePosition, Page allProbeChannelsPage)
      Description copied from interface: PositionLinks
      Initialize iteration over position links. Returns first potentially eligible join position starting from (and including) position argument.

      When there are no more position -1 is returned

      Specified by:
      start in interface PositionLinks
    • next

      public int next(int position, int probePosition, Page allProbeChannelsPage)
      Description copied from interface: PositionLinks
      Iterate over position links. When there are no more position -1 is returned.
      Specified by:
      next in interface PositionLinks
    • getSizeInBytes

      public long getSizeInBytes()
      Specified by:
      getSizeInBytes in interface PositionLinks
    • getEstimatedRetainedSizeInBytes

      public static long getEstimatedRetainedSizeInBytes(int positionCount)