Package org.apache.parquet.column.page
Interface PageReadStore
- All Superinterfaces:
AutoCloseable
contains all the readers for all the columns of the corresponding row group
TODO: rename to RowGroup?
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidclose()getPageReader(ColumnDescriptor descriptor) longdefault Optional<PrimitiveIterator.OfLong>Returns the indexes of the rows to be read/built if the related data is available.
-
Method Details
-
getPageReader
- Parameters:
descriptor- the descriptor of the column- Returns:
- the page reader for that column
-
getRowCount
long getRowCount()- Returns:
- the total number of rows in that row group
-
getRowIndexOffset
- Returns:
- the optional of the long representing the row index offset of this row group or an empty optional if the related data is not available
-
getRowIndexes
Returns the indexes of the rows to be read/built if the related data is available. All the rows which index is not returned shall be skipped.- Returns:
- the optional of the incremental iterator of the row indexes or an empty optional if the related data is not available
-
close
default void close()- Specified by:
closein interfaceAutoCloseable
-