java.lang.Object
org.apache.parquet.filter2.columnindex.RowRanges
org.apache.parquet.internal.filter2.columnindex.RowRanges

@Deprecated public class RowRanges extends RowRanges
Deprecated.
moved to RowRanges. This type is retained only so that the released ParquetFileReader#readFilteredRowGroup(int, RowRanges) signature keeps linking; it will be removed in 2.0. Use RowRanges instead.
  • Constructor Details

    • RowRanges

      public RowRanges()
      Deprecated.
  • Method Details

    • create

      @Deprecated public static RowRanges create(long rowCount, PrimitiveIterator.OfInt pageIndexes, OffsetIndex offsetIndex)
      Creates a RowRanges covering the given pages. The row bounds of each page are read from the offset index (see OffsetIndex#getFirstRowIndex and OffsetIndex#getLastRowIndex); adjacent page ranges are coalesced.
      Parameters:
      rowCount - row count of the row-group
      pageIndexes - ascending iterator of the selected page indexes
      offsetIndex - the offset index providing the row bounds of each page
      Returns:
      the row ranges covering the selected pages