Package io.trino.operator
Class ChannelSet.ChannelSetBuilder
- java.lang.Object
-
- io.trino.operator.ChannelSet.ChannelSetBuilder
-
- Enclosing class:
- ChannelSet
public static class ChannelSet.ChannelSetBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description ChannelSetBuilder(Type type, Optional<Integer> hashChannel, int expectedPositions, OperatorContext operatorContext, JoinCompiler joinCompiler, BlockTypeOperators blockTypeOperators)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Work<?>addPage(Page page)ChannelSetbuild()intgetCapacity()longgetEstimatedSize()intsize()booleanupdateMemoryReservation()
-
-
-
Constructor Detail
-
ChannelSetBuilder
public ChannelSetBuilder(Type type, Optional<Integer> hashChannel, int expectedPositions, OperatorContext operatorContext, JoinCompiler joinCompiler, BlockTypeOperators blockTypeOperators)
-
-
Method Detail
-
build
public ChannelSet build()
-
getEstimatedSize
public long getEstimatedSize()
-
size
public int size()
-
updateMemoryReservation
public boolean updateMemoryReservation()
-
getCapacity
public int getCapacity()
-
-