Expand description
Utilities for the partition range scan result cache.
StructsΒ§
- Cache
Batch πBuffer - Buffers record batches for caching, tracking memory size while deduplicating shared dictionary values across batches.
- Partition
Range πRowGroups - Row groups and whether all sources are file-only for a partition range.
- Range
Scan πCache Key - Cache key for range scan outputs.
- Range
Scan πCache Value - Cached result for one range scan.
- Scan
Request πFingerprint - Fingerprint of the scan request fields that affect partition range cache reuse.
- Scan
Request πFingerprint Builder - Shared
Scan πRequest Fingerprint - Non-copiable struct of the fingerprint.
FunctionsΒ§
- 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.
- pk_
values_ πptr_ eq - Returns true if two primary key dictionary arrays share the same underlying values buffers by pointer comparison.
- query_
time_ πrange_ covers_ partition_ range