Skip to main content

Module scan_region

Module scan_region 

Source
Expand description

Scans a region according to the scan request.

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 file-level time range from manifest metadata, 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.
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 πŸ”’
time_range_covers_file πŸ”’
Returns true if time_range contains the inclusive time range of file.