mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-12-03 16:05:28 +00:00
32 lines
30 KiB
HTML
32 lines
30 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="Running a bound tree, node by node."><title>promql::native::execute - 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="promql" 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 execute</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../promql/index.html">promql</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 execute</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></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In promql::<wbr>native</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">promql</a>::<wbr><a href="../index.html">native</a></div><h1>Module <span>execute</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/promql/native/execute.rs.html#15-6751">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Running a bound tree, node by node.</p>
|
||
<p>Each execution owns a recursive runtime tree; the compiled <a href="../plan/struct.NativeTree.html" title="struct promql::native::plan::NativeTree"><code>NativeTree</code></a> stays immutable, so one
|
||
tree builds independent executions. A caller registers the tree’s per-node metric handles into
|
||
its own metrics set once, before the execution starts.</p>
|
||
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.BinaryRuntime.html" title="struct promql::native::execute::BinaryRuntime">Binary<wbr>Runtime</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>What a binary or set node holds: both operands until they end.</dd><dt><a class="struct" href="struct.BroadcastRuntime.html" title="struct promql::native::execute::BroadcastRuntime">Broadcast<wbr>Runtime</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>What a binary node holds when one operand is a scalar: the operation, its scalar operand and the
|
||
layout of the side it is broadcast over.</dd><dt><a class="struct" href="struct.InputId.html" title="struct promql::native::execute::InputId">InputId</a></dt><dd>Which of an execution’s inputs a caller’s chunk belongs to.</dd><dt><a class="struct" href="struct.InputSlot.html" title="struct promql::native::execute::InputSlot">Input<wbr>Slot</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The caller-owned state of one input leaf.</dd><dt><a class="struct" href="struct.InstantRuntime.html" title="struct promql::native::execute::InstantRuntime">Instant<wbr>Runtime</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>What an instant node holds: the chunks of the one series it is selecting, until that series ends.</dd><dt><a class="struct" href="struct.LiveExecution.html" title="struct promql::native::execute::LiveExecution">Live<wbr>Execution</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="struct" href="struct.MapRuntime.html" title="struct promql::native::execute::MapRuntime">MapRuntime</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>What a map node applies.</dd><dt><a class="struct" href="struct.MergeInput.html" title="struct promql::native::execute::MergeInput">Merge<wbr>Input</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The input a <a href="enum.RuntimeOp.html#variant.Window" title="variant promql::native::execute::RuntimeOp::Window"><code>RuntimeOp::Window</code></a> or a <a href="enum.RuntimeOp.html#variant.Merge" title="variant promql::native::execute::RuntimeOp::Merge"><code>RuntimeOp::Merge</code></a> collects until its input ends.</dd><dt><a class="struct" href="struct.NativeExecutionState.html" title="struct promql::native::execute::NativeExecutionState">Native<wbr>Execution<wbr>State</a></dt><dd>State for one execution of a bound tree. The live tree and input slots are dropped together
|
||
when the executor finishes or fails; the public state remains available for inspection.</dd><dt><a class="struct" href="struct.NativeExecutor.html" title="struct promql::native::execute::NativeExecutor">Native<wbr>Executor</a></dt><dd>Drives one execution of a bound tree.</dd><dt><a class="struct" href="struct.NodeBuffer.html" title="struct promql::native::execute::NodeBuffer">Node<wbr>Buffer</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>What every node holds: its metric handles and the bytes it reserves.</dd><dt><a class="struct" href="struct.NodeState.html" title="struct promql::native::execute::NodeState">Node<wbr>State</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>State shared by the stateful operators.</dd><dt><a class="struct" href="struct.OpenSeries.html" title="struct promql::native::execute::OpenSeries">Open<wbr>Series</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The series whose first chunk this buffer received and whose closing chunk it has not seen.</dd><dt><a class="struct" href="struct.ParameterizedMapRuntime.html" title="struct promql::native::execute::ParameterizedMapRuntime">Parameterized<wbr>MapRuntime</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>What a map with scalar parameters holds: its function and output layout, and each parameter’s
|
||
value once it has arrived.</dd><dt><a class="struct" href="struct.RetainedInput.html" title="struct promql::native::execute::RetainedInput">Retained<wbr>Input</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>An input a node reads whole before it computes – one operand of a binary node, or the input of a vector
|
||
operation – chunk by chunk, until it ends.</dd><dt><a class="struct" href="struct.RuntimeNode.html" title="struct promql::native::execute::RuntimeNode">Runtime<wbr>Node</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>A runtime operator and its directly owned children and metrics.</dd><dt><a class="struct" href="struct.SourceFacts.html" title="struct promql::native::execute::SourceFacts">Source<wbr>Facts</a></dt><dd>What a fused execution knows about the labels its inputs hand over.</dd><dt><a class="struct" href="struct.VectorRuntime.html" title="struct promql::native::execute::VectorRuntime">Vector<wbr>Runtime</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>What a vector node holds: its whole input until it ends.</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.BroadcastOp.html" title="enum promql::native::execute::BroadcastOp">Broadcast<wbr>Op</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The operation a scalar broadcast applies, with the side the constant sits on already resolved.</dd><dt><a class="enum" href="enum.BroadcastScalar.html" title="enum promql::native::execute::BroadcastScalar">Broadcast<wbr>Scalar</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The scalar side of a broadcast.</dd><dt><a class="enum" href="enum.LeafKind.html" title="enum promql::native::execute::LeafKind">Leaf<wbr>Kind</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The kind of chunk an input leaf is bound to.</dd><dt><a class="enum" href="enum.NativeChunk.html" title="enum promql::native::execute::NativeChunk">Native<wbr>Chunk</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>A chunk on an internal edge.</dd><dt><a class="enum" href="enum.PairKernel.html" title="enum promql::native::execute::PairKernel">Pair<wbr>Kernel</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The kernel a <a href="struct.BinaryRuntime.html" title="struct promql::native::execute::BinaryRuntime"><code>BinaryRuntime</code></a> runs over its two assembled operands.</dd><dt><a class="enum" href="enum.Phase.html" title="enum promql::native::execute::Phase">Phase</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>Whether the execution can still produce chunks.</dd><dt><a class="enum" href="enum.Reader.html" title="enum promql::native::execute::Reader">Reader</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The node a <a href="struct.RetainedInput.html" title="struct promql::native::execute::RetainedInput"><code>RetainedInput</code></a> belongs to, which its messages name; formatted only when one is.</dd><dt><a class="enum" href="enum.RuntimeOp.html" title="enum promql::native::execute::RuntimeOp">Runtime<wbr>Op</a><span title="Restricted Visibility"> 🔒</span> </dt></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.BUFFER_HEADER_BYTES.html" title="constant promql::native::execute::BUFFER_HEADER_BYTES">BUFFER_<wbr>HEADER_<wbr>BYTES</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>An allowance for the shared header an Arrow buffer or a label list is allocated behind.</dd><dt><a class="constant" href="constant.HISTOGRAM_ROW_HEADER_BYTES.html" title="constant promql::native::execute::HISTOGRAM_ROW_HEADER_BYTES">HISTOGRAM_<wbr>ROW_<wbr>HEADER_<wbr>BYTES</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The bytes a histogram table row takes before its bucket lists: the schema, zero threshold, sum,
|
||
count, zero count, reset hint and start timestamp, the narrow columns counted at the width of
|
||
the widest, and one offset per list column – custom bounds, two span columns and one bucket
|
||
column per side.</dd><dt><a class="constant" href="constant.NATIVE_STACK_GROWTH.html" title="constant promql::native::execute::NATIVE_STACK_GROWTH">NATIVE_<wbr>STACK_<wbr>GROWTH</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>Stack a growth adds when the reserve above is spent. It holds several levels of the same walk.</dd><dt><a class="constant" href="constant.NATIVE_STACK_RED_ZONE.html" title="constant promql::native::execute::NATIVE_STACK_RED_ZONE">NATIVE_<wbr>STACK_<wbr>RED_<wbr>ZONE</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>Stack one <a href="struct.RuntimeNode.html#method.build" title="associated function promql::native::execute::RuntimeNode::build"><code>RuntimeNode::build</code></a> or <a href="struct.RuntimeNode.html#method.pull" title="method promql::native::execute::RuntimeNode::pull"><code>RuntimeNode::pull</code></a> level needs below it before the recursion
|
||
grows its stack.</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.assembly_bytes.html" title="fn promql::native::execute::assembly_bytes">assembly_<wbr>bytes</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The bytes a result of <code>fields</code> fields over <code>segments</code> segments is assembled from, beside its values:
|
||
the descriptor lists and the label set rebuilt from <code>metric</code>.</dd><dt><a class="fn" href="fn.broadcast_op.html" title="fn promql::native::execute::broadcast_op">broadcast_<wbr>op</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The operation a binary node’s <code>matching</code> describes.</dd><dt><a class="fn" href="fn.broadcast_runtime.html" title="fn promql::native::execute::broadcast_runtime">broadcast_<wbr>runtime</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The broadcast a binary node with one scalar operand is, read off its binding.</dd><dt><a class="fn" href="fn.buffer_bytes.html" title="fn promql::native::execute::buffer_bytes">buffer_<wbr>bytes</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The bytes of the whole allocation <code>buffer</code> is a slice of: the capacity is what a slice keeps
|
||
alive.</dd><dt><a class="fn" href="fn.buffered_fields.html" title="fn promql::native::execute::buffered_fields">buffered_<wbr>fields</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The buffered chunks as one axis: per field, the chunks’ samples in arrival order.</dd><dt><a class="fn" href="fn.buffered_time.html" title="fn promql::native::execute::buffered_time">buffered_<wbr>time</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The buffered chunks as the one source axis they make up.</dd><dt><a class="fn" href="fn.built_series_workspace_bytes.html" title="fn promql::native::execute::built_series_workspace_bytes">built_<wbr>series_<wbr>workspace_<wbr>bytes</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>An upper bound of what a kernel that pushes a subset of the rows of <code>series</code> into a
|
||
<a href="../../grid_series/struct.GridSeriesBuilder.html" title="struct promql::grid_series::GridSeriesBuilder"><code>GridSeriesBuilder</code></a> allocates: <a href="fn.built_workspace_bytes.html" title="fn promql::native::execute::built_workspace_bytes"><code>built_workspace_bytes</code></a> over the series’ rows and runs, and
|
||
the result’s assembly (<a href="fn.assembly_bytes.html" title="fn promql::native::execute::assembly_bytes"><code>assembly_bytes</code></a>), one segment per field.</dd><dt><a class="fn" href="fn.built_workspace_bytes.html" title="fn promql::native::execute::built_workspace_bytes">built_<wbr>workspace_<wbr>bytes</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>An upper bound of the bytes a <a href="../../grid_series/struct.GridSeriesBuilder.html" title="struct promql::grid_series::GridSeriesBuilder"><code>GridSeriesBuilder</code></a> allocates for a result of <code>fields</code> float fields
|
||
whose positions are a subset of <code>rows</code> positions making up <code>runs</code> runs.</dd><dt><a class="fn" href="fn.chunk_bytes_beside_samples.html" title="fn promql::native::execute::chunk_bytes_beside_samples">chunk_<wbr>bytes_<wbr>beside_<wbr>samples</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The bytes one chunk holds beside its samples: its axis, the runs that axis is made of, one
|
||
descriptor per segment and its labels.</dd><dt><a class="fn" href="fn.ensure_grid.html" title="fn promql::native::execute::ensure_grid">ensure_<wbr>grid</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>Checks that an evaluated series lies on the grid its consumer is bound to.</dd><dt><a class="fn" href="fn.evaluated_bytes.html" title="fn promql::native::execute::evaluated_bytes">evaluated_<wbr>bytes</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The bytes an evaluated chunk holds: its struct and the Arrow buffers behind its fields.</dd><dt><a class="fn" href="fn.evaluated_values.html" title="fn promql::native::execute::evaluated_values">evaluated_<wbr>values</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The values an evaluated chunk hands over, or the timestamps a raw source hands over.</dd><dt><a class="fn" href="fn.field_segments.html" title="fn promql::native::execute::field_segments">field_<wbr>segments</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The fields of one chunk, one dense segment at a time.</dd><dt><a class="fn" href="fn.grid_chunk_bytes.html" title="fn promql::native::execute::grid_chunk_bytes">grid_<wbr>chunk_<wbr>bytes</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The bytes one value per point of <code>grid</code> takes in a chunk of its own, reserved before it exists.</dd><dt><a class="fn" href="fn.grid_end_ms.html" title="fn promql::native::execute::grid_end_ms">grid_<wbr>end_<wbr>ms</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The last timestamp of <code>spec</code>, which is inclusive: its <code>len</code> points step from its start.</dd><dt><a class="fn" href="fn.grid_position.html" title="fn promql::native::execute::grid_position">grid_<wbr>position</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The position of the grid point at <code>timestamp</code>, which the selection reported as one of its own.</dd><dt><a class="fn" href="fn.histogram_bytes.html" title="fn promql::native::execute::histogram_bytes">histogram_<wbr>bytes</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The bytes the histogram table holds for one row of <code>view</code>: its scalar columns, the offset each
|
||
bucket list pays for it, and the values those lists hold.</dd><dt><a class="fn" href="fn.histogram_row_bytes.html" title="fn promql::native::execute::histogram_row_bytes">histogram_<wbr>row_<wbr>bytes</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The bytes the builder’s table holds for one row of the field, <code>None</code> for a field of floats: the
|
||
largest row, since any row can be the one every decided point picks.</dd><dt><a class="fn" href="fn.invalid_binary_operand.html" title="fn promql::native::execute::invalid_binary_operand">invalid_<wbr>binary_<wbr>operand</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>A binary operation was asked to read an operand other than its two inputs.</dd><dt><a class="fn" href="fn.last_sample_ms.html" title="fn promql::native::execute::last_sample_ms">last_<wbr>sample_<wbr>ms</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The time of the last sample a chunk carries, on its own timeline.</dd><dt><a class="fn" href="fn.last_series_ms.html" title="fn promql::native::execute::last_series_ms">last_<wbr>series_<wbr>ms</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The time of the last row <code>series</code> carries.</dd><dt><a class="fn" href="fn.map_chunk.html" title="fn promql::native::execute::map_chunk">map_<wbr>chunk</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>Maps one chunk with <code>ops</code>, keeping its axis and its closing.</dd><dt><a class="fn" href="fn.map_workspace_bytes.html" title="fn promql::native::execute::map_workspace_bytes">map_<wbr>workspace_<wbr>bytes</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>An upper bound of what the operations of a map allocate for the series they write over <code>series</code>.</dd><dt><a class="fn" href="fn.mapped_workspace_bytes.html" title="fn promql::native::execute::mapped_workspace_bytes">mapped_<wbr>workspace_<wbr>bytes</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>An upper bound of what a kernel that maps each dense segment of <code>series</code> into a new array of its
|
||
length allocates: float math over a series of floats, and arithmetic against a constant, which also
|
||
rebuilds a histogram field sample by sample.</dd><dt><a class="fn" href="fn.matched_scalar.html" title="fn promql::native::execute::matched_scalar">matched_<wbr>scalar</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The rejection of a scalar broadcast whose matching is not the one a constant can take.</dd><dt><a class="fn" href="fn.merge_workspace_bytes.html" title="fn promql::native::execute::merge_workspace_bytes">merge_<wbr>workspace_<wbr>bytes</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>A rough workspace estimate for merging fragments that hold <code>rows</code> rows between them.</dd><dt><a class="fn" href="fn.metric_bytes.html" title="fn promql::native::execute::metric_bytes">metric_<wbr>bytes</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The bytes a metric name holds: its name and each tag’s name and value, one row per label.</dd><dt><a class="fn" href="fn.missing_row.html" title="fn promql::native::execute::missing_row">missing_<wbr>row</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The error for a source row the selection named but the series does not hold.</dd><dt><a class="fn" href="fn.no_input.html" title="fn promql::native::execute::no_input">no_<wbr>input</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The rejection of a chunk routed to an input the execution does not have: an id past the last leaf names
|
||
no leaf at all.</dd><dt><a class="fn" href="fn.no_labels.html" title="fn promql::native::execute::no_labels">no_<wbr>labels</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The error for a series an instant selection has no labels to report it under.</dd><dt><a class="fn" href="fn.no_live_execution.html" title="fn promql::native::execute::no_live_execution">no_<wbr>live_<wbr>execution</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>A running executor must own its live state.</dd><dt><a class="fn" href="fn.no_row_chunk.html" title="fn promql::native::execute::no_row_chunk">no_<wbr>row_<wbr>chunk</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>A closing chunk carrying <code>metric</code> and no row at all.</dd><dt><a class="fn" href="fn.no_row_series.html" title="fn promql::native::execute::no_row_series">no_<wbr>row_<wbr>series</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>A series carrying <code>metric</code> and no row at all.</dd><dt><a class="fn" href="fn.no_window.html" title="fn promql::native::execute::no_window">no_<wbr>window</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The error for a node asked to evaluate a window without its evaluator.</dd><dt><a class="fn" href="fn.operand_chunk_bytes.html" title="fn promql::native::execute::operand_chunk_bytes">operand_<wbr>chunk_<wbr>bytes</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The bytes one chunk a binary operand retains holds on its own.</dd><dt><a class="fn" href="fn.raw_bytes.html" title="fn promql::native::execute::raw_bytes">raw_<wbr>bytes</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The bytes a raw chunk holds: its identity, its timestamps and the Arrow buffers behind its
|
||
fields.</dd><dt><a class="fn" href="fn.reservation_overflow.html" title="fn promql::native::execute::reservation_overflow">reservation_<wbr>overflow</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The error for a reservation the platform cannot express: the sum of the retained operands and the
|
||
kernel’s live workspace does not fit an address space.</dd><dt><a class="fn" href="fn.sample_slice_bytes.html" title="fn promql::native::execute::sample_slice_bytes">sample_<wbr>slice_<wbr>bytes</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The bytes the samples of one series’ fields take as the slices they are.</dd><dt><a class="fn" href="fn.scalar_chunk.html" title="fn promql::native::execute::scalar_chunk">scalar_<wbr>chunk</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>One unlabelled constant value per statement grid point, closed on its only chunk.</dd><dt><a class="fn" href="fn.scalar_chunk_on.html" title="fn promql::native::execute::scalar_chunk_on">scalar_<wbr>chunk_<wbr>on</a><span title="Restricted Visibility"> 🔒</span> </dt><dd><a href="fn.scalar_chunk.html" title="fn promql::native::execute::scalar_chunk"><code>scalar_chunk</code></a> under <code>schema</code>, which names the one field.</dd><dt><a class="fn" href="fn.scalar_schema.html" title="fn promql::native::execute::scalar_schema">scalar_<wbr>schema</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The layout of a scalar’s value carrier: one field on <code>grid</code>.</dd><dt><a class="fn" href="fn.series_changed.html" title="fn promql::native::execute::series_changed">series_<wbr>changed</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The error for a chunk of another series arriving while one is being selected.</dd><dt><a class="fn" href="fn.series_error.html" title="fn promql::native::execute::series_error">series_<wbr>error</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="fn" href="fn.side_name.html" title="fn promql::native::execute::side_name">side_<wbr>name</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>What side <code>index</code> is called in an error.</dd><dt><a class="fn" href="fn.truncated_input.html" title="fn promql::native::execute::truncated_input">truncated_<wbr>input</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The rejection of an input that ended without the chunk closing its series.</dd><dt><a class="fn" href="fn.unbilled_array_buffers.html" title="fn promql::native::execute::unbilled_array_buffers">unbilled_<wbr>array_<wbr>buffers</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>Adds the allocation a sample array’s values live in, and the one its validity bitmap lives in,
|
||
to <code>fresh</code> and <code>bytes</code>, skipping the ones <code>billed</code> holds and the ones already reported.</dd><dt><a class="fn" href="fn.unbilled_buffer.html" title="fn promql::native::execute::unbilled_buffer">unbilled_<wbr>buffer</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>Adds the allocation <code>buffer</code> is a slice of to <code>fresh</code> and <code>bytes</code>, once.</dd><dt><a class="fn" href="fn.unbilled_sample_buffers.html" title="fn promql::native::execute::unbilled_sample_buffers">unbilled_<wbr>sample_<wbr>buffers</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The Arrow allocations <code>series</code>’ samples live in that <code>billed</code> does not hold yet, and the bytes
|
||
they hold.</dd><dt><a class="fn" href="fn.unbilled_tables.html" title="fn promql::native::execute::unbilled_tables">unbilled_<wbr>tables</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The histogram tables <code>series</code> is the first to reference, and the bytes they hold.</dd><dt><a class="fn" href="fn.unsupported_binary.html" title="fn promql::native::execute::unsupported_binary">unsupported_<wbr>binary</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The rejection of a binary node whose operands are neither two evaluated vectors nor one evaluated vector
|
||
and one constant.</dd><dt><a class="fn" href="fn.valid_values.html" title="fn promql::native::execute::valid_values">valid_<wbr>values</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The valid values a chunk holds: one per valid field sample.</dd><dt><a class="fn" href="fn.vector_overflow.html" title="fn promql::native::execute::vector_overflow">vector_<wbr>overflow</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>The error for a vector operation whose reservation does not fit an address space.</dd><dt><a class="fn" href="fn.vector_series_with_k.html" title="fn promql::native::execute::vector_series_with_k">vector_<wbr>series_<wbr>with_<wbr>k</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="fn" href="fn.vector_workspace_bytes.html" title="fn promql::native::execute::vector_workspace_bytes">vector_<wbr>workspace_<wbr>bytes</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>A rough estimate of what the vector operation <code>op</code> allocates over <code>series</code>, beside the input it
|
||
reads.</dd><dt><a class="fn" href="fn.window_workspace_bytes.html" title="fn promql::native::execute::window_workspace_bytes">window_<wbr>workspace_<wbr>bytes</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>An upper bound of what <code>window</code>’s next push allocates for the rows it hands out, for input whose
|
||
last sample is at <code>last_ts</code>, closing its series when <code>last</code>, with <code>fields</code>, of the series <code>metric</code>
|
||
names.</dd><dt><a class="fn" href="fn.workspace_overflow.html" title="fn promql::native::execute::workspace_overflow">workspace_<wbr>overflow</a><span title="Restricted Visibility"> 🔒</span> </dt></dl></section></div></main></body></html> |