Package io.trino.parquet
Class DataPage
- java.lang.Object
-
- io.trino.parquet.Page
-
- io.trino.parquet.DataPage
-
- Direct Known Subclasses:
DataPageV1,DataPageV2
public abstract class DataPage extends Page
-
-
Field Summary
Fields Modifier and Type Field Description protected intvalueCount-
Fields inherited from class io.trino.parquet.Page
uncompressedSize
-
-
Constructor Summary
Constructors Constructor Description DataPage(int uncompressedSize, int valueCount, OptionalLong firstRowIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OptionalLonggetFirstRowIndex()intgetValueCount()-
Methods inherited from class io.trino.parquet.Page
getUncompressedSize
-
-
-
-
Constructor Detail
-
DataPage
public DataPage(int uncompressedSize, int valueCount, OptionalLong firstRowIndex)
-
-
Method Detail
-
getFirstRowIndex
public OptionalLong getFirstRowIndex()
- Returns:
- the index of the first row index in this page or -1 if unset.
-
getValueCount
public int getValueCount()
-
-