mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-08 22:32:55 +00:00
2 lines
7.6 KiB
HTML
2 lines
7.6 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 `expr_helper` mod in crate `operator`."><title>operator::expr_helper - 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 expr_helper</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 expr_<wbr>helper</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="#functions" title="Functions">Functions</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>expr_<wbr>helper</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/operator/expr_helper.rs.html#15-1619">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.RepartitionRequest.html" title="struct operator::expr_helper::RepartitionRequest">Repartition<wbr>Request</a></dt></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.column_schemas_to_defs.html" title="fn operator::expr_helper::column_schemas_to_defs">column_<wbr>schemas_<wbr>to_<wbr>defs</a></dt><dt><a class="fn" href="fn.columns_to_column_schemas.html" title="fn operator::expr_helper::columns_to_column_schemas">columns_<wbr>to_<wbr>column_<wbr>schemas</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="fn" href="fn.columns_to_expr.html" title="fn operator::expr_helper::columns_to_expr">columns_<wbr>to_<wbr>expr</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="fn" href="fn.create_external_expr.html" title="fn operator::expr_helper::create_external_expr">create_<wbr>external_<wbr>expr</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="fn" href="fn.create_table_expr_by_column_schemas.html" title="fn operator::expr_helper::create_table_expr_by_column_schemas">create_<wbr>table_<wbr>expr_<wbr>by_<wbr>column_<wbr>schemas</a></dt><dt><a class="fn" href="fn.create_to_expr.html" title="fn operator::expr_helper::create_to_expr">create_<wbr>to_<wbr>expr</a></dt><dd>Convert <code>CreateTable</code> statement to [<code>CreateTableExpr</code>] gRPC request.</dd><dt><a class="fn" href="fn.expr_to_create.html" title="fn operator::expr_helper::expr_to_create">expr_<wbr>to_<wbr>create</a></dt><dd>Convert gRPC’s [<code>CreateTableExpr</code>] back to <code>CreateTable</code> statement.
|
||
You can use <code>create_table_expr_by_column_schemas</code> to create a <code>CreateTableExpr</code> from column schemas.</dd><dt><a class="fn" href="fn.extract_add_columns_expr.html" title="fn operator::expr_helper::extract_add_columns_expr">extract_<wbr>add_<wbr>columns_<wbr>expr</a></dt><dt><a class="fn" href="fn.find_primary_keys.html" title="fn operator::expr_helper::find_primary_keys">find_<wbr>primary_<wbr>keys</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="fn" href="fn.find_time_index.html" title="fn operator::expr_helper::find_time_index">find_<wbr>time_<wbr>index</a></dt><dt><a class="fn" href="fn.is_date_time_type.html" title="fn operator::expr_helper::is_date_time_type">is_<wbr>date_<wbr>time_<wbr>type</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="fn" href="fn.is_interval_type.html" title="fn operator::expr_helper::is_interval_type">is_<wbr>interval_<wbr>type</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="fn" href="fn.sanitize_flow_name.html" title="fn operator::expr_helper::sanitize_flow_name">sanitize_<wbr>flow_<wbr>name</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>sanitize the flow name, remove possible quotes</dd><dt><a class="fn" href="fn.to_alter_database_expr.html" title="fn operator::expr_helper::to_alter_database_expr">to_<wbr>alter_<wbr>database_<wbr>expr</a></dt><dd>Try to cast the <code>[AlterDatabase]</code> statement into gRPC <code>[AlterDatabaseExpr]</code>.</dd><dt><a class="fn" href="fn.to_alter_table_expr.html" title="fn operator::expr_helper::to_alter_table_expr">to_<wbr>alter_<wbr>table_<wbr>expr</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>Converts a SQL alter table statement into a gRPC alter table expression.</dd><dt><a class="fn" href="fn.to_create_flow_task_expr.html" title="fn operator::expr_helper::to_create_flow_task_expr">to_<wbr>create_<wbr>flow_<wbr>task_<wbr>expr</a></dt><dt><a class="fn" href="fn.to_create_view_expr.html" title="fn operator::expr_helper::to_create_view_expr">to_<wbr>create_<wbr>view_<wbr>expr</a></dt><dd>Try to cast the <code>[CreateViewExpr]</code> statement into gRPC <code>[CreateViewExpr]</code>.</dd><dt><a class="fn" href="fn.to_repartition_request.html" title="fn operator::expr_helper::to_repartition_request">to_<wbr>repartition_<wbr>request</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="fn" href="fn.validate_add_columns_expr.html" title="fn operator::expr_helper::validate_add_columns_expr">validate_<wbr>add_<wbr>columns_<wbr>expr</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="fn" href="fn.validate_create_expr.html" title="fn operator::expr_helper::validate_create_expr">validate_<wbr>create_<wbr>expr</a></dt><dd>Validate the [<code>CreateTableExpr</code>] request.</dd></dl></section></div></main></body></html> |