CLASSSEALEDAssembly: Parquet.SourceGenerator.Attributes

ParquetPruneStatistics

Namespace: Parquet.SourceGenerator

Diagnostics recorded by the generated sorted-column lookup overloads (<c>ReadParquetBy&lt;Column&gt;Async</c> / <c>ReadParquet&lt;Column&gt;RangeAsync</c>). <para> Pass an instance to a lookup call to learn whether the file's row-group <c>[Min, Max]</c> statistics certified the key column as sorted, and how many row groups actually had to be decompressed. Nothing on the read path depends on it — it exists so callers, tests and benchmarks can prove that pruning happened rather than infer it from wall-clock time. </para>

Inheritance:
object
Parquet.SourceGenerator.ParquetPruneStatistics

Syntax

ParquetPruneStatistics

UML Class Diagram

ParquetPruneStatistics Class Diagram

Rendering diagram...

Properties7

FirstRowGroupRead: int
int ParquetPruneStatistics.FirstRowGroupRead

Index of the first row group read, or -1 when nothing matched.

LastRowGroupRead: int
int ParquetPruneStatistics.LastRowGroupRead

Index of the last row group read, or -1 when nothing matched.

RowGroupCount: int
int ParquetPruneStatistics.RowGroupCount

Total row groups present in the file.

RowGroupsPruned: int
int ParquetPruneStatistics.RowGroupsPruned

Row groups skipped without being decompressed.

RowGroupsScanned: int
int ParquetPruneStatistics.RowGroupsScanned

Row groups actually opened and decompressed for the answer.

SortedColumnDetected: bool
bool ParquetPruneStatistics.SortedColumnDetected

True when every row group carried usable <c>[Min, Max]</c> statistics for the key column and the intervals were non-overlapping and non-decreasing, so binary search was valid. False means the read fell back to a full linear scan.

StrictlyMonotonic: bool
bool ParquetPruneStatistics.StrictlyMonotonic

True when the certified intervals were additionally <em>strictly</em> monotonic (<c>Max(i) &lt; Min(i+1)</c>), i.e. no key value straddles a row-group boundary.

Methods1

Reset: void
void ParquetPruneStatistics.Reset()

Restores the instance to its pre-read state so it can be reused.