Package io.prestosql.operator
Class LookupJoinPageBuilder
- java.lang.Object
-
- io.prestosql.operator.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 void
appendNullForBuild(JoinProbe probe)
append the index for the probe and append nulls for the buildvoid
appendRow(JoinProbe probe, LookupSource lookupSource, long joinPosition)
append the index for the probe and copy the row for the buildPage
build(JoinProbe probe)
boolean
isEmpty()
boolean
isFull()
void
reset()
String
toString()
-
-
-
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
-
-