mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-16 21:10:38 +00:00
1 line
8.2 KiB
HTML
1 line
8.2 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 `utils` mod in crate `common_meta`."><title>common_meta::ddl::utils - 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="common_meta" 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 utils</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</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module utils</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="#enums" title="Enums">Enums</a></li><li><a href="#functions" title="Functions">Functions</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In common_<wbr>meta::<wbr>ddl</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">common_meta</a>::<wbr><a href="../index.html">ddl</a></div><h1>Module <span>utils</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/ddl/utils.rs.html#15-493">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="raw_table_info/index.html" title="mod common_meta::ddl::utils::raw_table_info">raw_<wbr>table_<wbr>info</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="mod" href="region_metadata_lister/index.html" title="mod common_meta::ddl::utils::region_metadata_lister">region_<wbr>metadata_<wbr>lister</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="mod" href="table_id/index.html" title="mod common_meta::ddl::utils::table_id">table_<wbr>id</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="mod" href="table_info/index.html" title="mod common_meta::ddl::utils::table_info">table_<wbr>info</a><span title="Restricted Visibility"> 🔒</span> </dt></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.MultipleResults.html" title="enum common_meta::ddl::utils::MultipleResults">Multiple<wbr>Results</a></dt><dd>The result of multiple operations.</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.add_peer_context_if_needed.html" title="fn common_meta::ddl::utils::add_peer_context_if_needed">add_<wbr>peer_<wbr>context_<wbr>if_<wbr>needed</a></dt><dd>Adds <a href="../../peer/struct.Peer.html" title="struct common_meta::peer::Peer">Peer</a> context if the error is unretryable.</dd><dt><a class="fn" href="fn.check_and_get_physical_table_id.html" title="fn common_meta::ddl::utils::check_and_get_physical_table_id">check_<wbr>and_<wbr>get_<wbr>physical_<wbr>table_<wbr>id</a></dt><dt><a class="fn" href="fn.convert_region_routes_to_detecting_regions.html" title="fn common_meta::ddl::utils::convert_region_routes_to_detecting_regions">convert_<wbr>region_<wbr>routes_<wbr>to_<wbr>detecting_<wbr>regions</a></dt><dd>Converts a list of <a href="../../rpc/router/struct.RegionRoute.html" title="struct common_meta::rpc::router::RegionRoute"><code>RegionRoute</code></a> to a list of <a href="../type.DetectingRegion.html" title="type common_meta::ddl::DetectingRegion"><code>DetectingRegion</code></a>.</dd><dt><a class="fn" href="fn.extract_column_metadatas.html" title="fn common_meta::ddl::utils::extract_column_metadatas">extract_<wbr>column_<wbr>metadatas</a></dt><dd>Extracts column metadatas from extensions.</dd><dt><a class="fn" href="fn.extract_region_wal_options.html" title="fn common_meta::ddl::utils::extract_region_wal_options">extract_<wbr>region_<wbr>wal_<wbr>options</a></dt><dd>Extracts region wal options from <a href="../../key/datanode_table/struct.DatanodeTableValue.html" title="struct common_meta::key::datanode_table::DatanodeTableValue">DatanodeTableValue</a>s.</dd><dt><a class="fn" href="fn.get_catalog_and_schema.html" title="fn common_meta::ddl::utils::get_catalog_and_schema">get_<wbr>catalog_<wbr>and_<wbr>schema</a></dt><dd>Extracts catalog and schema from the path that created by <a href="fn.region_storage_path.html" title="fn common_meta::ddl::utils::region_storage_path">region_storage_path</a>.</dd><dt><a class="fn" href="fn.get_physical_table_id.html" title="fn common_meta::ddl::utils::get_physical_table_id">get_<wbr>physical_<wbr>table_<wbr>id</a></dt><dt><a class="fn" href="fn.get_region_wal_options.html" title="fn common_meta::ddl::utils::get_region_wal_options">get_<wbr>region_<wbr>wal_<wbr>options</a></dt><dd>Gets the wal options for a table.</dd><dt><a class="fn" href="fn.handle_multiple_results.html" title="fn common_meta::ddl::utils::handle_multiple_results">handle_<wbr>multiple_<wbr>results</a></dt><dd>Handles the results of alter region requests.</dd><dt><a class="fn" href="fn.map_to_procedure_error.html" title="fn common_meta::ddl::utils::map_to_procedure_error">map_<wbr>to_<wbr>procedure_<wbr>error</a></dt><dd>Maps the error to the corresponding procedure error.</dd><dt><a class="fn" href="fn.parse_column_metadatas.html" title="fn common_meta::ddl::utils::parse_column_metadatas">parse_<wbr>column_<wbr>metadatas</a></dt><dd>Parses column metadatas from extensions.</dd><dt><a class="fn" href="fn.parse_manifest_infos_from_extensions.html" title="fn common_meta::ddl::utils::parse_manifest_infos_from_extensions">parse_<wbr>manifest_<wbr>infos_<wbr>from_<wbr>extensions</a></dt><dd>Parses manifest infos from extensions.</dd><dt><a class="fn" href="fn.parse_region_wal_options.html" title="fn common_meta::ddl::utils::parse_region_wal_options">parse_<wbr>region_<wbr>wal_<wbr>options</a></dt><dd>Parses [WalOptions] from serialized strings in hashmap.</dd><dt><a class="fn" href="fn.region_storage_path.html" title="fn common_meta::ddl::utils::region_storage_path">region_<wbr>storage_<wbr>path</a></dt><dt><a class="fn" href="fn.sync_follower_regions.html" title="fn common_meta::ddl::utils::sync_follower_regions">sync_<wbr>follower_<wbr>regions</a></dt><dd>Sync follower regions on datanodes.</dd></dl></section></div></main></body></html> |