Skip to main content

Module scan_region

Module scan_region 

Source
Expand description

Scans a region according to the scan request.

ModulesΒ§

aggr πŸ”’
Answers aggregates of a scan from manifest and SST statistics instead of scanning SST rows. The preparation result, an exact answer or a split into exact and residual sources, does not depend on the aggregate; scalar COUNT is the only aggregate served so far.

StructsΒ§

ExplainString πŸ”’
Keeps the existing debug-list spacing while escaping strings as JSON, including control characters for which Rust’s Debug escaping is not valid JSON.
FileLevelPruningStats πŸ”’
Lightweight [PruningStatistics] that only uses the time range and first primary key range known by the file handle, avoiding any parquet metadata reads. Used for early file-level pruning before accessing row-group-level statistics.
FileSummary πŸ”’
Metadata totals for distinct SST files, not post-filter rows or actual read bytes. Older files may have unknown row and row-group counts represented by zero.
FirstPrimaryKeyStats πŸ”’
Min and max of the first primary key column of a file, decoded from the file’s primary key range on first use. Predicates that do not reference the column skip the decoding.
PredicateGroup
Predicates to evaluate. It only keeps filters that SimpleFilterEvaluator supports.
ScanAnalysis πŸ”’
Cached output of scan request analysis: the optional range-cache fingerprint plus the derived implied time range used by range cache and prefilter.
ScanInput
Common input for different scanners.
ScanInputBuilder πŸ”’
Builder for a finalized ScanInput.
ScanRegion πŸ”’
Helper to scans a region by ScanRequest.
StreamContext
Context shared by different streams from a scanner. It contains the input and ranges to scan.

EnumsΒ§

Scanner πŸ”’
A scanner scans a region and returns a SendableRecordBatchStream.

FunctionsΒ§

exact_sequence_range πŸ”’
Selects the SST files for a scan and, when requested, determines whether the selected files support an exact sequence-range scan.
file_in_range πŸ”’
Returns true if the time range of a SST file matches the predicate.
pre_filter_mode πŸ”’
request_preserves_rows πŸ”’
Whether the scan request leaves the source rows visible before predicates.
time_range_covers_file πŸ”’
Returns true if time_range contains the inclusive time range of file.