Files
greptimedb/operator/insert/index.html
T
2026-08-18 04:36:17 +00:00

11 lines
8.1 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="API documentation for the Rust `insert` mod in crate `operator`."><title>operator::insert - 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="operator" 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 insert</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../operator/index.html">operator</a><span class="version">1.3.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module insert</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><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" tabindex="-1"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">operator</a></div><h1>Module <span>insert</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/insert.rs.html#15-1894">Source</a> </span></div><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.CreateAlterTableResult.html" title="struct operator::insert::CreateAlterTableResult">Create<wbr>Alter<wbr>Table<wbr>Result</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Result of <code>create_or_alter_tables_on_demand</code>.</dd><dt><a class="struct" href="struct.FlowMirrorTask.html" title="struct operator::insert::FlowMirrorTask">Flow<wbr>Mirror<wbr>Task</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="struct" href="struct.Inserter.html" title="struct operator::insert::Inserter">Inserter</a></dt><dt><a class="struct" href="struct.InstantAndNormalInsertRequests.html" title="struct operator::insert::InstantAndNormalInsertRequests">Instant<wbr>AndNormal<wbr>Insert<wbr>Requests</a></dt><dd>Split insert requests into normal and instant requests.</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.AutoCreateTableType.html" title="enum operator::insert::AutoCreateTableType">Auto<wbr>Create<wbr>Table<wbr>Type</a></dt><dd>Hint for the table type to create automatically.</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.SPLUNK_PK_METADATA_ORDER_KEY.html" title="constant operator::insert::SPLUNK_PK_METADATA_ORDER_KEY">SPLUNK_<wbr>PK_<wbr>METADATA_<wbr>ORDER_<wbr>KEY</a></dt><dd><code>QueryContext</code> extension key the Splunk HEC handler sets (to <code>"true"</code>) on its identity
path to request metadata-first primary-key ordering at table creation. It is absent for
user-supplied pipelines, so their primary-key order is left untouched.</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.apply_per_table_semantic_options.html" title="fn operator::insert::apply_per_table_semantic_options">apply_<wbr>per_<wbr>table_<wbr>semantic_<wbr>options</a></dt><dd>Folds the semantic keys of the table being created into <code>table_options</code>.</dd><dt><a class="fn" href="fn.build_create_table_expr.html" title="fn operator::insert::build_create_table_expr">build_<wbr>create_<wbr>table_<wbr>expr</a></dt><dt><a class="fn" href="fn.fill_table_options_for_create.html" title="fn operator::insert::fill_table_options_for_create">fill_<wbr>table_<wbr>options_<wbr>for_<wbr>create</a></dt><dd>Fill table options for a new table by create type.</dd><dt><a class="fn" href="fn.parse_per_table_semantic_index.html" title="fn operator::insert::parse_per_table_semantic_index">parse_<wbr>per_<wbr>table_<wbr>semantic_<wbr>index</a></dt><dd>Parses the per-table semantic index off the context extension. Call once per
create-planning round: a first write creating N tables would otherwise
re-parse the whole index N times. <code>None</code> when the request carries no index
(logs, traces, Prom RW v1) or it fails to parse.</dd><dt><a class="fn" href="fn.reorder_splunk_primary_keys.html" title="fn operator::insert::reorder_splunk_primary_keys">reorder_<wbr>splunk_<wbr>primary_<wbr>keys</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Moves Splunks metadata tags (<code>host</code>, <code>source</code>, <code>sourcetype</code>) to the front of the
primary key, keeping the relative order of the remaining tags.</dd><dt><a class="fn" href="fn.request_is_native_histogram.html" title="fn operator::insert::request_is_native_histogram">request_<wbr>is_<wbr>native_<wbr>histogram</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="fn" href="fn.table_is_native_histogram.html" title="fn operator::insert::table_is_native_histogram">table_<wbr>is_<wbr>native_<wbr>histogram</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="fn" href="fn.validate_column_count_match.html" title="fn operator::insert::validate_column_count_match">validate_<wbr>column_<wbr>count_<wbr>match</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.InserterRef.html" title="type operator::insert::InserterRef">Inserter<wbr>Ref</a></dt><dt><a class="type" href="type.PerTableSemanticIndex.html" title="type operator::insert::PerTableSemanticIndex">PerTable<wbr>Semantic<wbr>Index</a></dt><dd>The parsed per-table semantic index: <code>{schema -&gt; {table -&gt; {key -&gt; value}}}</code>,
produced by the OTLP metrics encode path (where one metric can fan out into
several tables with distinct keys) and the Prometheus remote write v2 path
(where per-series metadata declares type/unit, and a series may override its
target schema).</dd></dl></section></div></main></body></html>