Class RowReferencePageManager

java.lang.Object
io.trino.operator.RowReferencePageManager

public class RowReferencePageManager extends Object
Page buffering manager that enables access to individual rows via stable row IDs. This allows computation to be built against these row IDs, while still enabling bulk memory optimizations such as compaction and lazy loading behind the scenes. Callers are responsible for explicitly de-referencing any rows that are no longer needed.
  • Constructor Details

    • RowReferencePageManager

      public RowReferencePageManager()
  • Method Details

    • add

    • dereference

      public void dereference(long rowId)
    • getPage

      public Page getPage(long rowId)
    • getPosition

      public int getPosition(long rowId)
    • compactIfNeeded

      public void compactIfNeeded()
    • sizeOf

      public long sizeOf()