Package io.prestosql.operator
Class ChannelSet.ChannelSetBuilder
- java.lang.Object
-
- io.prestosql.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)
ChannelSet
build()
int
getCapacity()
long
getEstimatedSize()
int
size()
boolean
updateMemoryReservation()
-
-
-
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()
-
-