mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-14 17:23:09 +00:00
1 line
12 KiB
HTML
1 line
12 KiB
HTML
<!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="API documentation for the Rust `cache` mod in crate `common_meta`."><title>common_meta::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-e56847b5.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="common_meta" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (fa3155a64 2025-09-30)" data-channel="nightly" data-search-js="search-e256b49e.js" data-stringdex-js="stringdex-828709d0.js" data-settings-js="settings-c38705f0.js" ><script src="../../static.files/storage-e2aeef58.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-ce535bd0.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-263c88ec.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"><!--[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 cache</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../common_meta/index.html">common_<wbr>meta</a><span class="version">1.0.0-beta.3</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module cache</a></h2><h3><a href="#modules">Module Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#functions" title="Functions">Functions</a></li><li><a href="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate common_<wbr>meta</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"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">common_meta</a></div><h1>Module <span>cache</span> <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/common_meta/cache.rs.html#15-31">Source</a> </span></div><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><dl class="item-table"><dt><a class="mod" href="container/index.html" title="mod common_meta::cache::container">container</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="mod" href="flow/index.html" title="mod common_meta::cache::flow">flow</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="mod" href="registry/index.html" title="mod common_meta::cache::registry">registry</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="mod" href="table/index.html" title="mod common_meta::cache::table">table</a><span title="Restricted Visibility"> 🔒</span> </dt></dl><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.CacheContainer.html" title="struct common_meta::cache::CacheContainer">Cache<wbr>Container</a></dt><dd><a href="struct.CacheContainer.html" title="struct common_meta::cache::CacheContainer">CacheContainer</a> provides ability to:</dd><dt><a class="struct" href="struct.CacheRegistry.html" title="struct common_meta::cache::CacheRegistry">Cache<wbr>Registry</a></dt><dd><a href="struct.CacheRegistry.html" title="struct common_meta::cache::CacheRegistry">CacheRegistry</a> provides ability of</dd><dt><a class="struct" href="struct.CacheRegistryBuilder.html" title="struct common_meta::cache::CacheRegistryBuilder">Cache<wbr>Registry<wbr>Builder</a></dt><dd><a href="struct.CacheRegistryBuilder.html" title="struct common_meta::cache::CacheRegistryBuilder">CacheRegistryBuilder</a> provides ability of</dd><dt><a class="struct" href="struct.LayeredCacheRegistry.html" title="struct common_meta::cache::LayeredCacheRegistry">Layered<wbr>Cache<wbr>Registry</a></dt><dd><a href="struct.LayeredCacheRegistry.html" title="struct common_meta::cache::LayeredCacheRegistry">LayeredCacheRegistry</a> invalidate caches sequentially from the first layer.</dd><dt><a class="struct" href="struct.LayeredCacheRegistryBuilder.html" title="struct common_meta::cache::LayeredCacheRegistryBuilder">Layered<wbr>Cache<wbr>Registry<wbr>Builder</a></dt><dd><a href="struct.LayeredCacheRegistry.html" title="struct common_meta::cache::LayeredCacheRegistry">LayeredCacheRegistry</a> Builder.</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.TableRoute.html" title="enum common_meta::cache::TableRoute">Table<wbr>Route</a></dt><dd><a href="enum.TableRoute.html" title="enum common_meta::cache::TableRoute">TableRoute</a> stores <code>Arc</code> wrapped table route.</dd></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.new_schema_cache.html" title="fn common_meta::cache::new_schema_cache">new_<wbr>schema_<wbr>cache</a></dt><dd>Constructs a <a href="type.SchemaCache.html" title="type common_meta::cache::SchemaCache">SchemaCache</a>.</dd><dt><a class="fn" href="fn.new_table_flownode_set_cache.html" title="fn common_meta::cache::new_table_flownode_set_cache">new_<wbr>table_<wbr>flownode_<wbr>set_<wbr>cache</a></dt><dd>Constructs a <a href="type.TableFlownodeSetCache.html" title="type common_meta::cache::TableFlownodeSetCache">TableFlownodeSetCache</a>.</dd><dt><a class="fn" href="fn.new_table_info_cache.html" title="fn common_meta::cache::new_table_info_cache">new_<wbr>table_<wbr>info_<wbr>cache</a></dt><dd>Constructs a <a href="type.TableInfoCache.html" title="type common_meta::cache::TableInfoCache">TableInfoCache</a>.</dd><dt><a class="fn" href="fn.new_table_name_cache.html" title="fn common_meta::cache::new_table_name_cache">new_<wbr>table_<wbr>name_<wbr>cache</a></dt><dd>Constructs a <a href="type.TableNameCache.html" title="type common_meta::cache::TableNameCache">TableNameCache</a>.</dd><dt><a class="fn" href="fn.new_table_route_cache.html" title="fn common_meta::cache::new_table_route_cache">new_<wbr>table_<wbr>route_<wbr>cache</a></dt><dd>Constructs a <a href="type.TableRouteCache.html" title="type common_meta::cache::TableRouteCache">TableRouteCache</a>.</dd><dt><a class="fn" href="fn.new_table_schema_cache.html" title="fn common_meta::cache::new_table_schema_cache">new_<wbr>table_<wbr>schema_<wbr>cache</a></dt><dd>Constructs a <a href="type.TableSchemaCache.html" title="type common_meta::cache::TableSchemaCache">TableSchemaCache</a>.</dd><dt><a class="fn" href="fn.new_view_info_cache.html" title="fn common_meta::cache::new_view_info_cache">new_<wbr>view_<wbr>info_<wbr>cache</a></dt><dd>Constructs a <a href="type.ViewInfoCache.html" title="type common_meta::cache::ViewInfoCache">ViewInfoCache</a>.</dd></dl><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><dl class="item-table"><dt><a class="type" href="type.CacheRegistryRef.html" title="type common_meta::cache::CacheRegistryRef">Cache<wbr>Registry<wbr>Ref</a></dt><dt><a class="type" href="type.Initializer.html" title="type common_meta::cache::Initializer">Initializer</a></dt><dd>Initializes value (i.e., fetches from remote).</dd><dt><a class="type" href="type.Invalidator.html" title="type common_meta::cache::Invalidator">Invalidator</a></dt><dd>Invalidates cached values by [CacheToken]s.</dd><dt><a class="type" href="type.LayeredCacheRegistryRef.html" title="type common_meta::cache::LayeredCacheRegistryRef">Layered<wbr>Cache<wbr>Registry<wbr>Ref</a></dt><dt><a class="type" href="type.SchemaCache.html" title="type common_meta::cache::SchemaCache">Schema<wbr>Cache</a></dt><dt><a class="type" href="type.SchemaCacheRef.html" title="type common_meta::cache::SchemaCacheRef">Schema<wbr>Cache<wbr>Ref</a></dt><dt><a class="type" href="type.TableFlownodeSetCache.html" title="type common_meta::cache::TableFlownodeSetCache">Table<wbr>Flownode<wbr>SetCache</a></dt><dd><a href="type.TableFlownodeSetCache.html" title="type common_meta::cache::TableFlownodeSetCache">TableFlownodeSetCache</a> caches the [TableId] to [FlownodeSet] mapping.</dd><dt><a class="type" href="type.TableFlownodeSetCacheRef.html" title="type common_meta::cache::TableFlownodeSetCacheRef">Table<wbr>Flownode<wbr>SetCache<wbr>Ref</a></dt><dt><a class="type" href="type.TableInfoCache.html" title="type common_meta::cache::TableInfoCache">Table<wbr>Info<wbr>Cache</a></dt><dd><a href="type.TableInfoCache.html" title="type common_meta::cache::TableInfoCache">TableInfoCache</a> caches the [TableId] to [TableInfo] mapping.</dd><dt><a class="type" href="type.TableInfoCacheRef.html" title="type common_meta::cache::TableInfoCacheRef">Table<wbr>Info<wbr>Cache<wbr>Ref</a></dt><dt><a class="type" href="type.TableNameCache.html" title="type common_meta::cache::TableNameCache">Table<wbr>Name<wbr>Cache</a></dt><dd><a href="type.TableNameCache.html" title="type common_meta::cache::TableNameCache">TableNameCache</a> caches the [TableName] to [TableId] mapping.</dd><dt><a class="type" href="type.TableNameCacheRef.html" title="type common_meta::cache::TableNameCacheRef">Table<wbr>Name<wbr>Cache<wbr>Ref</a></dt><dt><a class="type" href="type.TableRouteCache.html" title="type common_meta::cache::TableRouteCache">Table<wbr>Route<wbr>Cache</a></dt><dd><a href="type.TableRouteCache.html" title="type common_meta::cache::TableRouteCache">TableRouteCache</a> caches the [TableId] to <a href="enum.TableRoute.html" title="enum common_meta::cache::TableRoute">TableRoute</a> mapping.</dd><dt><a class="type" href="type.TableRouteCacheRef.html" title="type common_meta::cache::TableRouteCacheRef">Table<wbr>Route<wbr>Cache<wbr>Ref</a></dt><dt><a class="type" href="type.TableSchemaCache.html" title="type common_meta::cache::TableSchemaCache">Table<wbr>Schema<wbr>Cache</a></dt><dt><a class="type" href="type.TableSchemaCacheRef.html" title="type common_meta::cache::TableSchemaCacheRef">Table<wbr>Schema<wbr>Cache<wbr>Ref</a></dt><dt><a class="type" href="type.TokenFilter.html" title="type common_meta::cache::TokenFilter">Token<wbr>Filter</a></dt><dd>Filters out unused [CacheToken]s</dd><dt><a class="type" href="type.ViewInfoCache.html" title="type common_meta::cache::ViewInfoCache">View<wbr>Info<wbr>Cache</a></dt><dd><a href="type.ViewInfoCache.html" title="type common_meta::cache::ViewInfoCache">ViewInfoCache</a> caches the [TableId] to <a href="../key/view_info/struct.ViewInfoValue.html" title="struct common_meta::key::view_info::ViewInfoValue">ViewInfoValue</a> mapping.</dd><dt><a class="type" href="type.ViewInfoCacheRef.html" title="type common_meta::cache::ViewInfoCacheRef">View<wbr>Info<wbr>Cache<wbr>Ref</a></dt></dl></section></div></main></body></html> |