Class RowRanges
java.lang.Object
org.apache.parquet.filter2.columnindex.RowRanges
org.apache.parquet.internal.filter2.columnindex.RowRanges
Deprecated.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.parquet.filter2.columnindex.RowRanges
RowRanges.Builder, RowRanges.Range -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RowRangescreate(long rowCount, PrimitiveIterator.OfInt pageIndexes, OffsetIndex offsetIndex) Deprecated.useRowRanges.builder()together withRowRanges.Builder.addSelectedRange(long, long)Methods inherited from class org.apache.parquet.filter2.columnindex.RowRanges
builder, createSingle, getRanges, intersection, isOverlapping, iterator, rowCount, toString, union
-
Constructor Details
-
RowRanges
public RowRanges()Deprecated.
-
-
Method Details
-
create
@Deprecated public static RowRanges create(long rowCount, PrimitiveIterator.OfInt pageIndexes, OffsetIndex offsetIndex) Deprecated.useRowRanges.builder()together withRowRanges.Builder.addSelectedRange(long, long)Creates aRowRangescovering the given pages. The row bounds of each page are read from the offset index (seeOffsetIndex#getFirstRowIndexandOffsetIndex#getLastRowIndex); adjacent page ranges are coalesced.- Parameters:
rowCount- row count of the row-grouppageIndexes- ascending iterator of the selected page indexesoffsetIndex- the offset index providing the row bounds of each page- Returns:
- the row ranges covering the selected pages
-
RowRanges. This type is retained only so that the releasedParquetFileReader#readFilteredRowGroup(int, RowRanges)signature keeps linking; it will be removed in 2.0. UseRowRangesinstead.