Files
greptimedb/mito2/read/range_cache/index.html
2026-05-12 10:47:44 +00:00

2 lines
8.8 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Utilities for the partition range scan result cache."><title>mito2::read::range_cache - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-17e0aaed.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="mito2" data-themes="" data-resource-suffix="" data-rustdoc-version="1.96.0-nightly (ac7f9ec7d 2026-03-20)" data-channel="nightly" data-search-js="search-63369b7b.js" data-stringdex-js="stringdex-2da4960a.js" data-settings-js="settings-170eb4bf.js" ><script src="../../../static.files/storage-41dd4d93.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../static.files/main-5013f961.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-f7c3ffd8.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.svg"></head><body class="rustdoc mod"><a class="skip-main-content" href="#main-content">Skip to main content</a><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">Module range_cache</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../mito2/index.html">mito2</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module range_<wbr>cache</a></h2><h3><a href="#structs">Module Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#constants" title="Constants">Constants</a></li><li><a href="#functions" title="Functions">Functions</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In mito2::<wbr>read</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content" tabindex="-1"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">mito2</a>::<wbr><a href="../index.html">read</a></div><h1>Module <span>range_<wbr>cache</span>&nbsp;<button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/mito2/read/range_cache.rs.html#15-1034">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Utilities for the partition range scan result cache.</p>
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.CacheBatchBuffer.html" title="struct mito2::read::range_cache::CacheBatchBuffer">Cache<wbr>Batch<wbr>Buffer</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="struct" href="struct.CacheConcatState.html" title="struct mito2::read::range_cache::CacheConcatState">Cache<wbr>Concat<wbr>State</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="struct" href="struct.CachedBatchSlice.html" title="struct mito2::read::range_cache::CachedBatchSlice">Cached<wbr>Batch<wbr>Slice</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Cached result for one range scan.</dd><dt><a class="struct" href="struct.PartitionRangeRowGroups.html" title="struct mito2::read::range_cache::PartitionRangeRowGroups">Partition<wbr>Range<wbr>RowGroups</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Row groups and whether all sources are file-only for a partition range.</dd><dt><a class="struct" href="struct.RangeScanCacheKey.html" title="struct mito2::read::range_cache::RangeScanCacheKey">Range<wbr>Scan<wbr>Cache<wbr>Key</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Cache key for range scan outputs.</dd><dt><a class="struct" href="struct.RangeScanCacheValue.html" title="struct mito2::read::range_cache::RangeScanCacheValue">Range<wbr>Scan<wbr>Cache<wbr>Value</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="struct" href="struct.ScanRequestFingerprint.html" title="struct mito2::read::range_cache::ScanRequestFingerprint">Scan<wbr>Request<wbr>Fingerprint</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Fingerprint of the scan request fields that affect partition range cache reuse.</dd><dt><a class="struct" href="struct.ScanRequestFingerprintBuilder.html" title="struct mito2::read::range_cache::ScanRequestFingerprintBuilder">Scan<wbr>Request<wbr>Fingerprint<wbr>Builder</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="struct" href="struct.SharedScanRequestFingerprint.html" title="struct mito2::read::range_cache::SharedScanRequestFingerprint">Shared<wbr>Scan<wbr>Request<wbr>Fingerprint</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Non-copiable struct of the fingerprint.</dd></dl><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.CacheConcatCommand.html" title="enum mito2::read::range_cache::CacheConcatCommand">Cache<wbr>Concat<wbr>Command</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt></dl><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><dl class="item-table"><dt><a class="constant" href="constant.RANGE_CACHE_COMPACT_THRESHOLD_BYTES.html" title="constant mito2::read::range_cache::RANGE_CACHE_COMPACT_THRESHOLD_BYTES">RANGE_<wbr>CACHE_<wbr>COMPACT_<wbr>THRESHOLD_<wbr>BYTES</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt></dl><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><dl class="item-table"><dt><a class="fn" href="fn.build_cached_batch_slice.html" title="fn mito2::read::range_cache::build_cached_batch_slice">build_<wbr>cached_<wbr>batch_<wbr>slice</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="fn" href="fn.build_range_cache_key.html" title="fn mito2::read::range_cache::build_range_cache_key">build_<wbr>range_<wbr>cache_<wbr>key</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Builds a cache key for the given partition range if it is eligible for caching.</dd><dt><a class="fn" href="fn.cache_flat_range_stream.html" title="fn mito2::read::range_cache::cache_flat_range_stream">cache_<wbr>flat_<wbr>range_<wbr>stream</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Wraps a stream to cache its output for future range cache hits.</dd><dt><a class="fn" href="fn.cached_flat_range_stream.html" title="fn mito2::read::range_cache::cached_flat_range_stream">cached_<wbr>flat_<wbr>range_<wbr>stream</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Returns a stream that replays cached record batches.</dd><dt><a class="fn" href="fn.collect_partition_range_row_groups.html" title="fn mito2::read::range_cache::collect_partition_range_row_groups">collect_<wbr>partition_<wbr>range_<wbr>row_<wbr>groups</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Collects (file_id, row_group_index) pairs from a partition ranges row group indices.</dd><dt><a class="fn" href="fn.compact_record_batches.html" title="fn mito2::read::range_cache::compact_record_batches">compact_<wbr>record_<wbr>batches</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="fn" href="fn.query_time_range_covers_partition_range.html" title="fn mito2::read::range_cache::query_time_range_covers_partition_range">query_<wbr>time_<wbr>range_<wbr>covers_<wbr>partition_<wbr>range</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="fn" href="fn.run_cache_concat_task.html" title="fn mito2::read::range_cache::run_cache_concat_task">run_<wbr>cache_<wbr>concat_<wbr>task</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt></dl></section></div></main></body></html>