Interface PageReadStore

All Superinterfaces:
AutoCloseable

public interface PageReadStore extends AutoCloseable
contains all the readers for all the columns of the corresponding row group

TODO: rename to RowGroup?

  • Method Details

    • getPageReader

      PageReader getPageReader(ColumnDescriptor descriptor)
      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

      default Optional<Long> 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

      default Optional<PrimitiveIterator.OfLong> 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:
      close in interface AutoCloseable