Class PositionsAppenderPageBuilder

java.lang.Object
io.trino.operator.output.PositionsAppenderPageBuilder

public class PositionsAppenderPageBuilder extends Object
  • Method Details

    • withMaxPageSize

      public static PositionsAppenderPageBuilder withMaxPageSize(int maxPageBytes, List<Type> sourceTypes, PositionsAppenderFactory positionsAppenderFactory)
    • appendToOutputPartition

      public void appendToOutputPartition(Page page, it.unimi.dsi.fastutil.ints.IntArrayList positions)
    • appendToOutputPartition

      public void appendToOutputPartition(Page page, int position)
    • getRetainedSizeInBytes

      public long getRetainedSizeInBytes()
    • getSizeInBytes

      public long getSizeInBytes()
    • isFull

      public boolean isFull()
    • isEmpty

      public boolean isEmpty()
    • flushOrFlattenBeforeRelease

      public Optional<Page> flushOrFlattenBeforeRelease()
    • build

      public Page build()