Package io.trino.operator.output
Class PositionsAppenderPageBuilder
java.lang.Object
io.trino.operator.output.PositionsAppenderPageBuilder
-
Method Summary
Modifier and TypeMethodDescriptionvoidappendToOutputPartition(Page page, int position) voidappendToOutputPartition(Page page, it.unimi.dsi.fastutil.ints.IntArrayList positions) build()longlongbooleanisEmpty()booleanisFull()static PositionsAppenderPageBuilderwithMaxPageSize(int maxPageBytes, List<Type> sourceTypes, PositionsAppenderFactory positionsAppenderFactory)
-
Method Details
-
withMaxPageSize
public static PositionsAppenderPageBuilder withMaxPageSize(int maxPageBytes, List<Type> sourceTypes, PositionsAppenderFactory positionsAppenderFactory) -
appendToOutputPartition
-
appendToOutputPartition
-
getRetainedSizeInBytes
public long getRetainedSizeInBytes() -
getSizeInBytes
public long getSizeInBytes() -
isFull
public boolean isFull() -
isEmpty
public boolean isEmpty() -
flushOrFlattenBeforeRelease
-
build
-