Skip to main content

Module range_cache

Module range_cache 

Source
Expand description

Utilities for the partition range scan result cache.

StructsΒ§

CacheBatchBuffer πŸ”’
CacheConcatState πŸ”’
CachedBatchSlice πŸ”’
Cached result for one range scan.
PartitionRangeRowGroups πŸ”’
Row groups and whether all sources are file-only for a partition range.
RangeScanCacheKey πŸ”’
Cache key for range scan outputs.
RangeScanCacheValue πŸ”’
ScanRequestFingerprint πŸ”’
Fingerprint of the scan request fields that affect partition range cache reuse.
ScanRequestFingerprintBuilder πŸ”’
SharedScanRequestFingerprint πŸ”’
Non-copiable struct of the fingerprint.

EnumsΒ§

CacheConcatCommand πŸ”’

ConstantsΒ§

RANGE_CACHE_COMPACT_THRESHOLD_BYTES πŸ”’
RANGE_CACHE_SKIP_BYTES πŸ”’

FunctionsΒ§

build_cached_batch_slice πŸ”’
build_range_cache_key πŸ”’
Builds a cache key for the given partition range if it is eligible for caching.
cache_flat_range_stream πŸ”’
Wraps a stream to cache its output for future range cache hits.
cached_flat_range_stream πŸ”’
Returns a stream that replays cached record batches.
collect_partition_range_row_groups πŸ”’
Collects (file_id, row_group_index) pairs from a partition range’s row group indices.
compact_record_batches πŸ”’
query_time_range_covers_partition_range πŸ”’
run_cache_concat_task πŸ”’