Class DataPage

java.lang.Object
org.apache.parquet.column.page.Page
org.apache.parquet.column.page.DataPage
Direct Known Subclasses:
DataPageV1, DataPageV2

public abstract class DataPage extends Page
one data page in a chunk
  • Method Details

    • getValueCount

      public int getValueCount()
      Returns:
      the number of values in that page
    • getFirstRowIndex

      public Optional<Long> getFirstRowIndex()
      Returns:
      the index of the first row in this page if the related data is available (the optional column-index contains this value)
    • getIndexRowCount

      public abstract Optional<Integer> getIndexRowCount()
      Returns:
      the number of rows in this page if the related data is available (in case of pageV1 the optional column-index contains this value)
    • accept

      public abstract <T> T accept(DataPage.Visitor<T> visitor)