Class LookupJoinPageBuilder

java.lang.Object
io.trino.operator.join.unspilled.LookupJoinPageBuilder

public class LookupJoinPageBuilder extends Object
This page builder creates pages with dictionary blocks: normal dictionary blocks for the probe side and the original blocks for the build side.

TODO use dictionary blocks (probably extended kind) to avoid data copying for build side

  • Constructor Details

    • LookupJoinPageBuilder

      public LookupJoinPageBuilder(List<Type> buildTypes)
  • Method Details

    • isFull

      public boolean isFull()
    • isEmpty

      public boolean isEmpty()
    • getPositionCount

      public int getPositionCount()
    • reset

      public void reset()
    • appendRow

      public void appendRow(JoinProbe probe, LookupSource lookupSource, long joinPosition)
      append the index for the probe and copy the row for the build
    • appendNullForBuild

      public void appendNullForBuild(JoinProbe probe)
      append the index for the probe and append nulls for the build
    • repeatBuildRow

      public void repeatBuildRow()
    • build

      public Page build(JoinProbe probe)
    • toString

      public String toString()
      Overrides:
      toString in class Object