mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-11-28 13:44:03 +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 `request` mod in crate `common_query`."><title>common_query::request - 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-1ed95124.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="common_query" data-themes="" data-resource-suffix="" data-rustdoc-version="1.98.1 (48a229cea 2026-09-01)" data-channel="1.98.1" data-search-js="search-9944d736.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-417ebf0a.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 request</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../common_query/index.html">common_<wbr>query</a><span class="version">1.4.0-alpha.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module request</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="#constants" title="Constants">Constants</a></li><li><a href="#functions" title="Functions">Functions</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate common_<wbr>query</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_query</a></div><h1>Module <span>request</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_query/request.rs.html#15-2541">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="base64_serde/index.html" title="mod common_query::request::base64_serde">base64_<wbr>serde</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>Serde adapters for byte fields encoded as base64 strings in JSON.</dd><dt><a class="mod" href="initial_remote_dyn_filter_reg/index.html" title="mod common_query::request::initial_remote_dyn_filter_reg">initial_<wbr>remote_<wbr>dyn_<wbr>filter_<wbr>reg</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.BoundedPhysicalExprEncoder.html" title="struct common_query::request::BoundedPhysicalExprEncoder">Bounded<wbr>Physical<wbr>Expr<wbr>Encoder</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="struct" href="struct.DynFilterUpdate.html" title="struct common_query::request::DynFilterUpdate">DynFilter<wbr>Update</a></dt><dd>A remote dynamic filter update sent from a query coordinator to region servers.</dd><dt><a class="struct" href="struct.InitialDynFilterReg.html" title="struct common_query::request::InitialDynFilterReg">Initial<wbr>DynFilter<wbr>Reg</a></dt><dd>Current wire-format version for remote dynamic filter payload updates.</dd><dt><a class="struct" href="struct.InitialDynFilterRegs.html" title="struct common_query::request::InitialDynFilterRegs">Initial<wbr>DynFilter<wbr>Regs</a></dt><dd>Current wire-format version for remote dynamic filter payload updates.</dd><dt><a class="struct" href="struct.InitialDynFilterSnapshot.html" title="struct common_query::request::InitialDynFilterSnapshot">Initial<wbr>DynFilter<wbr>Snapshot</a></dt><dd>Current wire-format version for remote dynamic filter payload updates.</dd><dt><a class="struct" href="struct.QueryRequest.html" title="struct common_query::request::QueryRequest">Query<wbr>Request</a></dt><dd>The query request to be handled by the RegionServer (Datanode).</dd><dt><a class="struct" href="struct.RemoteMembership.html" title="struct common_query::request::RemoteMembership">Remote<wbr>Membership</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>Build-key list of one hash lookup, written as <code>probe_key IN (value, ...)</code>.</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.ConjunctRetention.html" title="enum common_query::request::ConjunctRetention">Conjunct<wbr>Retention</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>Which top-level conjuncts <a href="fn.retain_membership_free_conjuncts.html" title="fn common_query::request::retain_membership_free_conjuncts"><code>retain_membership_free_conjuncts</code></a> has to drop.</dd><dt><a class="enum" href="enum.DynFilterPayload.html" title="enum common_query::request::DynFilterPayload">DynFilter<wbr>Payload</a></dt><dd>Serialized predicate payload for remote dynamic filter updates.</dd><dt><a class="enum" href="enum.MembershipRefusal.html" title="enum common_query::request::MembershipRefusal">Membership<wbr>Refusal</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>Why a lookup’s build-key membership cannot be written as <code>probe_key IN (...)</code>.</dd></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.DYN_FILTER_PROTOCOL_VERSION.html" title="constant common_query::request::DYN_FILTER_PROTOCOL_VERSION">DYN_<wbr>FILTER_<wbr>PROTOCOL_<wbr>VERSION</a></dt><dt><a class="constant" href="constant.INITIAL_REMOTE_DYN_FILTER_REGISTRATIONS_EXTENSION_KEY.html" title="constant common_query::request::INITIAL_REMOTE_DYN_FILTER_REGISTRATIONS_EXTENSION_KEY">INITIAL_<wbr>REMOTE_<wbr>DYN_<wbr>FILTER_<wbr>REGISTRATIONS_<wbr>EXTENSION_<wbr>KEY</a></dt><dd>Current wire-format version for remote dynamic filter payload updates.</dd><dt><a class="constant" href="constant.MIN_ENCODED_LITERAL_BYTES.html" title="constant common_query::request::MIN_ENCODED_LITERAL_BYTES">MIN_<wbr>ENCODED_<wbr>LITERAL_<wbr>BYTES</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>Smallest number of encoded bytes a single <code>IN</code> list literal can take.</dd><dt><a class="constant" href="constant.REMOTE_DYN_FILTER_PAYLOAD_MAX_BYTES.html" title="constant common_query::request::REMOTE_DYN_FILTER_PAYLOAD_MAX_BYTES">REMOTE_<wbr>DYN_<wbr>FILTER_<wbr>PAYLOAD_<wbr>MAX_<wbr>BYTES</a></dt><dd>Shared raw protobuf byte budget for remote dynamic filter payloads.</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.decode_physical_expr_from_bytes.html" title="fn common_query::request::decode_physical_expr_from_bytes">decode_<wbr>physical_<wbr>expr_<wbr>from_<wbr>bytes</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="fn" href="fn.encode_bounded_physical_expr_to_bytes.html" title="fn common_query::request::encode_bounded_physical_expr_to_bytes">encode_<wbr>bounded_<wbr>physical_<wbr>expr_<wbr>to_<wbr>bytes</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>Encodes <code>expr</code> for the remote wire under <code>max_payload_bytes</code>.</dd><dt><a class="fn" href="fn.encode_physical_expr_to_bytes.html" title="fn common_query::request::encode_physical_expr_to_bytes">encode_<wbr>physical_<wbr>expr_<wbr>to_<wbr>bytes</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="fn" href="fn.encode_retained_conjuncts_to_bytes.html" title="fn common_query::request::encode_retained_conjuncts_to_bytes">encode_<wbr>retained_<wbr>conjuncts_<wbr>to_<wbr>bytes</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>Encodes the top-level conjuncts of <code>expr</code> that <code>retention</code> allows to keep.</dd><dt><a class="fn" href="fn.is_dyn_filter_payload_too_large.html" title="fn common_query::request::is_dyn_filter_payload_too_large">is_<wbr>dyn_<wbr>filter_<wbr>payload_<wbr>too_<wbr>large</a></dt><dd>Whether <code>error</code> reports a dynamic filter payload that exceeded <code>max_payload_bytes</code>.</dd><dt><a class="fn" href="fn.is_dyn_filter_unsupported.html" title="fn common_query::request::is_dyn_filter_unsupported">is_<wbr>dyn_<wbr>filter_<wbr>unsupported</a></dt><dd>Whether <code>error</code> reports a dynamic filter predicate the wire cannot represent.</dd><dt><a class="fn" href="fn.max_membership_values.html" title="fn common_query::request::max_membership_values">max_<wbr>membership_<wbr>values</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>Upper bound on how many <code>IN</code> list literals <code>max_payload_bytes</code> can hold.</dd><dt><a class="fn" href="fn.refused_payload_size.html" title="fn common_query::request::refused_payload_size">refused_<wbr>payload_<wbr>size</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>Frame size reported for a payload refused because it does not fit the budget.</dd><dt><a class="fn" href="fn.retain_membership_free_conjuncts.html" title="fn common_query::request::retain_membership_free_conjuncts">retain_<wbr>membership_<wbr>free_<wbr>conjuncts</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>Keeps the top-level conjuncts of a predicate that cannot be shipped as it stands.</dd><dt><a class="fn" href="fn.utf8_list_literals.html" title="fn common_query::request::utf8_list_literals">utf8_<wbr>list_<wbr>literals</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>Materializes the <code>IN</code> list literals for a build-key membership.</dd><dt><a class="fn" href="fn.validate_decoded_payload_expr.html" title="fn common_query::request::validate_decoded_payload_expr">validate_<wbr>decoded_<wbr>payload_<wbr>expr</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>Validates decoded dynamic filter physical expressions against the receiver-side schema.</dd><dt><a class="fn" href="fn.validate_payload_size.html" title="fn common_query::request::validate_payload_size">validate_<wbr>payload_<wbr>size</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="fn" href="fn.validate_supported_payload_expr.html" title="fn common_query::request::validate_supported_payload_expr">validate_<wbr>supported_<wbr>payload_<wbr>expr</a><span title="Restricted Visibility"> 🔒</span> </dt></dl></section></div></main></body></html> |