Class DataPage

java.lang.Object
io.trino.parquet.Page
io.trino.parquet.DataPage
Direct Known Subclasses:
DataPageV1, DataPageV2

public abstract sealed class DataPage extends Page permits DataPageV1, DataPageV2
  • Field Details

    • valueCount

      protected final int valueCount
  • Constructor Details

    • DataPage

      public DataPage(int uncompressedSize, int valueCount, OptionalLong firstRowIndex)
  • Method Details

    • getFirstRowIndex

      public OptionalLong getFirstRowIndex()
      Returns:
      the index of the first row index in this page or -1 if unset.
    • getValueCount

      public int getValueCount()