Files
greptimedb/operator/statement/index.html
2026-01-07 02:43:04 +00:00

4 lines
9.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 `statement` mod in crate `operator`."><title>operator::statement - 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="operator" 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 statement</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../operator/index.html">operator</a><span class="version">1.0.0-beta.4</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module statement</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="#traits" title="Traits">Traits</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 operator</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">operator</a></div><h1>Module <span>statement</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/operator/statement.rs.html#15-1041">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="admin/index.html" title="mod operator::statement::admin">admin</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="mod" href="comment/index.html" title="mod operator::statement::comment">comment</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="mod" href="copy_database/index.html" title="mod operator::statement::copy_database">copy_<wbr>database</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="mod" href="copy_query_to/index.html" title="mod operator::statement::copy_query_to">copy_<wbr>query_<wbr>to</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="mod" href="copy_table_from/index.html" title="mod operator::statement::copy_table_from">copy_<wbr>table_<wbr>from</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="mod" href="copy_table_to/index.html" title="mod operator::statement::copy_table_to">copy_<wbr>table_<wbr>to</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="mod" href="cursor/index.html" title="mod operator::statement::cursor">cursor</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="mod" href="ddl/index.html" title="mod operator::statement::ddl">ddl</a></dt><dt><a class="mod" href="describe/index.html" title="mod operator::statement::describe">describe</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="mod" href="dml/index.html" title="mod operator::statement::dml">dml</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="mod" href="kill/index.html" title="mod operator::statement::kill">kill</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="mod" href="set/index.html" title="mod operator::statement::set">set</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="mod" href="show/index.html" title="mod operator::statement::show">show</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="mod" href="tql/index.html" title="mod operator::statement::tql">tql</a><span title="Restricted Visibility">&nbsp;🔒</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.ExecutorConfigureContext.html" title="struct operator::statement::ExecutorConfigureContext">Executor<wbr>Configure<wbr>Context</a></dt><dt><a class="struct" href="struct.InserterImpl.html" title="struct operator::statement::InserterImpl">Inserter<wbr>Impl</a></dt><dd>The [<code>Inserter</code>] implementation for the statement executor.</dd><dt><a class="struct" href="struct.StatementExecutor.html" title="struct operator::statement::StatementExecutor">Statement<wbr>Executor</a></dt></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.StatementExecutorConfigurator.html" title="trait operator::statement::StatementExecutorConfigurator">Statement<wbr>Executor<wbr>Configurator</a></dt><dd>A configurator that customizes or enhances a <a href="struct.StatementExecutor.html" title="struct operator::statement::StatementExecutor"><code>StatementExecutor</code></a>.</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.extract_timestamp.html" title="fn operator::statement::extract_timestamp">extract_<wbr>timestamp</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Extracts timestamp from a <a href="https://doc.rust-lang.org/nightly/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap&lt;String, String&gt;</a> with given key.</dd><dt><a class="fn" href="fn.idents_to_full_database_name.html" title="fn operator::statement::idents_to_full_database_name">idents_<wbr>to_<wbr>full_<wbr>database_<wbr>name</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="fn" href="fn.timestamp_range_from_option_map.html" title="fn operator::statement::timestamp_range_from_option_map">timestamp_<wbr>range_<wbr>from_<wbr>option_<wbr>map</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Extracts timestamp range from OptionMap with keys <code>start_time</code> and <code>end_time</code>.
The timestamp ranges should be a valid timestamp string as defined in [Timestamp::from_str].
The timezone used for conversion will respect that inside <code>query_ctx</code>.</dd><dt><a class="fn" href="fn.to_copy_database_request.html" title="fn operator::statement::to_copy_database_request">to_<wbr>copy_<wbr>database_<wbr>request</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Converts [CopyDatabaseArgument] to [CopyDatabaseRequest].
This function extracts the necessary info including catalog/database name, time range, etc.</dd><dt><a class="fn" href="fn.to_copy_query_request.html" title="fn operator::statement::to_copy_query_request">to_<wbr>copy_<wbr>query_<wbr>request</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="fn" href="fn.to_copy_table_request.html" title="fn operator::statement::to_copy_table_request">to_<wbr>copy_<wbr>table_<wbr>request</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="fn" href="fn.verify_time_related_format.html" title="fn operator::statement::verify_time_related_format">verify_<wbr>time_<wbr>related_<wbr>format</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt></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.StatementExecutorConfiguratorRef.html" title="type operator::statement::StatementExecutorConfiguratorRef">Statement<wbr>Executor<wbr>Configurator<wbr>Ref</a></dt><dt><a class="type" href="type.StatementExecutorRef.html" title="type operator::statement::StatementExecutorRef">Statement<wbr>Executor<wbr>Ref</a></dt></dl></section></div></main></body></html>