Package io.trino.operator.join
Class LookupJoinPageBuilder
- java.lang.Object
-
- io.trino.operator.join.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 Summary
Constructors Constructor Description LookupJoinPageBuilder(List<Type> buildTypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendNullForBuild(JoinProbe probe)append the index for the probe and append nulls for the buildvoidappendRow(JoinProbe probe, LookupSource lookupSource, long joinPosition)append the index for the probe and copy the row for the buildPagebuild(JoinProbe probe)booleanisEmpty()booleanisFull()voidreset()StringtoString()
-
-
-
Method Detail
-
isFull
public boolean isFull()
-
isEmpty
public boolean isEmpty()
-
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
-
-