Package io.trino.operator.join.unspilled
Class LookupJoinPageBuilder
java.lang.Object
io.trino.operator.join.unspilled.LookupJoinPageBuilder
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidappendNullForBuild(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 buildintbooleanisEmpty()booleanisFull()voidvoidreset()toString()
-
Constructor Details
-
LookupJoinPageBuilder
-
-
Method Details
-
isFull
public boolean isFull() -
isEmpty
public boolean isEmpty() -
getPositionCount
public int getPositionCount() -
reset
public void reset() -
appendRow
append the index for the probe and copy the row for the build -
appendNullForBuild
append the index for the probe and append nulls for the build -
repeatBuildRow
public void repeatBuildRow() -
build
-
toString
-