Expand description
Cache for the engine.
ModulesΒ§
- cache_
size π - Cache size of different cache value.
- file_
cache π - A cache for files.
- index π
- manifest_
cache π - A cache for manifest files.
- write_
cache π - A write-through cache for remote object stores.
StructsΒ§
- Cache
Manager - Manages cached data for the engine.
- Cache
Manager Builder - Builder to construct a CacheManager.
- Cached
SstMeta π - Cached SST metadata combines the parquet footer with the decoded region metadata.
- Compact
SstMeta π - Compact, authoritative form of one SSTβs metadata.
- Page
Fragment πGroup Key - Page
Fragment Key - Cache key for one byte fragment in an SST row group.
- Page
Range Cache - Byte-fragment cache for Parquet row-group reads.
- Page
Range Lookup - Result of looking up request ranges in the page range cache.
- Page
Range Part - One cached byte fragment that overlaps a requested range.
- Prefilter
Key π - Key for a cached prefilter result.
- Prefilter
RowSelector π - Prepared
SstMeta π - Both forms produced by decoding metadata after a cache miss.
- Range
Result πMemory Limiter - Selector
Result Key - Cache key for time series row selector result.
- Selector
Result Value - Cached result for time series row selector.
- SstMeta
Key π - Cache key (region id, file id) for SST meta.
EnumsΒ§
- Cache
Strategy - Cache strategies that may only enable a subset of caches.
- Selector
Result - Result stored in the selector result cache.
- SstMeta
Preparation π - Result of decoding SST metadata and attempting to encode its compact cache entry.
ConstantsΒ§
- FILE_
TYPE π - Metrics type key for files on the local store.
- INDEX_
TYPE π - Metrics type key for index files (puffin) on the local store.
- PAGE_
TYPE π - Metrics type key for pages.
- PREFILTER_
RESULT_ πTYPE - Metrics type key for prefilter result cache.
- RANGE_
RESULT_ πCONCAT_ MEMORY_ LIMIT - RANGE_
RESULT_ πCONCAT_ MEMORY_ PERMIT - RANGE_
RESULT_ πTYPE - Metrics type key for range scan result cache.
- SELECTOR_
RESULT_ πTYPE - Metrics type key for selector result cache.
- SST_
META_ πDECODED_ TYPE - Metrics type key for the optional decoded SST metadata acceleration tier.
- SST_
META_ πTYPE - Metrics type key for sst meta.
- VECTOR_
TYPE π - Metrics type key for vector.
FunctionsΒ§
- decode_
sst_ πmeta - Decodes SST metadata without preparing a compact cache entry.
- decoded_
meta_ πcache_ weight - encode_
compact_ πsst_ meta - finish_
sst_ πmeta_ preparation - infer_
loaded_ πpage_ index_ policy - meta_
cache_ πweight - new_
prefilter_ πresult_ cache - page_
cache_ πweight - prefilter_
result_ πcache_ weight - prepare_
sst_ πmeta - Decodes SST metadata and attempts to encode both cache representations on the blocking runtime.
- prepare_
sst_ πmeta_ sync - Synchronously prepares SST metadata. Callers must run this on a blocking runtime.
- range_
result_ πcache_ weight - removal_
cause_ πstr - satisfies_
page_ πindex_ policy - selector_
result_ cache_ hit - Increases selector cache hit metrics.
- selector_
result_ cache_ miss - Increases selector cache miss metrics.
- selector_
result_ πcache_ weight - strip_
column_ πindexes - strip_
region_ πmetadata_ from_ parquet - update_
hit_ πmiss - Updates cache hit/miss metrics.
- vector_
cache_ πweight
Type AliasesΒ§
- Cache
Manager Ref - Page
Fragment πIndex - Page
Fragment πRange Index - Prefilter
Result πCache - Range
Result πCache - Maps partition-range scan key to cached flat batches.
- Selector
Result πCache - Maps (file id, row group id, time series row selector) to SelectorResultValue.
- SstDecoded
Meta πCache - Maps (region id, file id) to decoded SST metadata retained as an acceleration tier.
- SstMeta
Cache π - Maps (region id, file id) to fused SST metadata.
- Vector
Cache π - Maps [Value] to a vector that holds this value repeatedly.