mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-08 06:12:55 +00:00
9 lines
7.1 KiB
HTML
9 lines
7.1 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="All query handler traits for various request protocols, like SQL or GRPC."><title>servers::query_handler - 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="servers" 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 query_handler</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../servers/index.html">servers</a><span class="version">1.0.0-beta.3</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module query_<wbr>handler</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="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate servers</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">servers</a></div><h1>Module <span>query_<wbr>handler</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/servers/query_handler.rs.html#15-222">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>All query handler traits for various request protocols, like SQL or GRPC.</p>
|
||
<p>Instance that wishes to support certain request protocol, just implement the corresponding
|
||
trait, the Server will handle codec for you.</p>
|
||
<p>Note:
|
||
Query handlers are not confined to only handle read requests, they are expecting to handle
|
||
write requests too. So the “query” here not might seem ambiguity. However, “query” has been
|
||
used as some kind of “convention”, it’s the “Q” in “SQL”. So we might better stick to the
|
||
word “query”.</p>
|
||
</div></details><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><dl class="item-table"><dt><a class="mod" href="grpc/index.html" title="mod servers::query_handler::grpc">grpc</a></dt><dt><a class="mod" href="sql/index.html" title="mod servers::query_handler::sql">sql</a></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.PromStoreResponse.html" title="struct servers::query_handler::PromStoreResponse">Prom<wbr>Store<wbr>Response</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.InfluxdbLineProtocolHandler.html" title="trait servers::query_handler::InfluxdbLineProtocolHandler">Influxdb<wbr>Line<wbr>Protocol<wbr>Handler</a></dt><dt><a class="trait" href="trait.JaegerQueryHandler.html" title="trait servers::query_handler::JaegerQueryHandler">Jaeger<wbr>Query<wbr>Handler</a></dt><dd>Handle Jaeger query requests.</dd><dt><a class="trait" href="trait.LogQueryHandler.html" title="trait servers::query_handler::LogQueryHandler">LogQuery<wbr>Handler</a></dt><dd>Handle log query requests.</dd><dt><a class="trait" href="trait.OpenTelemetryProtocolHandler.html" title="trait servers::query_handler::OpenTelemetryProtocolHandler">Open<wbr>Telemetry<wbr>Protocol<wbr>Handler</a></dt><dt><a class="trait" href="trait.OpentsdbProtocolHandler.html" title="trait servers::query_handler::OpentsdbProtocolHandler">Opentsdb<wbr>Protocol<wbr>Handler</a></dt><dt><a class="trait" href="trait.PipelineHandler.html" title="trait servers::query_handler::PipelineHandler">Pipeline<wbr>Handler</a></dt><dd>PipelineHandler is responsible for handling pipeline related requests.</dd><dt><a class="trait" href="trait.PromStoreProtocolHandler.html" title="trait servers::query_handler::PromStoreProtocolHandler">Prom<wbr>Store<wbr>Protocol<wbr>Handler</a></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.InfluxdbLineProtocolHandlerRef.html" title="type servers::query_handler::InfluxdbLineProtocolHandlerRef">Influxdb<wbr>Line<wbr>Protocol<wbr>Handler<wbr>Ref</a></dt><dt><a class="type" href="type.JaegerQueryHandlerRef.html" title="type servers::query_handler::JaegerQueryHandlerRef">Jaeger<wbr>Query<wbr>Handler<wbr>Ref</a></dt><dt><a class="type" href="type.LogQueryHandlerRef.html" title="type servers::query_handler::LogQueryHandlerRef">LogQuery<wbr>Handler<wbr>Ref</a></dt><dt><a class="type" href="type.OpenTelemetryProtocolHandlerRef.html" title="type servers::query_handler::OpenTelemetryProtocolHandlerRef">Open<wbr>Telemetry<wbr>Protocol<wbr>Handler<wbr>Ref</a></dt><dt><a class="type" href="type.OpentsdbProtocolHandlerRef.html" title="type servers::query_handler::OpentsdbProtocolHandlerRef">Opentsdb<wbr>Protocol<wbr>Handler<wbr>Ref</a></dt><dt><a class="type" href="type.PipelineHandlerRef.html" title="type servers::query_handler::PipelineHandlerRef">Pipeline<wbr>Handler<wbr>Ref</a></dt><dt><a class="type" href="type.PromStoreProtocolHandlerRef.html" title="type servers::query_handler::PromStoreProtocolHandlerRef">Prom<wbr>Store<wbr>Protocol<wbr>Handler<wbr>Ref</a></dt></dl></section></div></main></body></html> |