mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-06 05:12:54 +00:00
3 lines
10 KiB
HTML
3 lines
10 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="Memtables are write buffers for regions."><title>mito2::memtable - 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="mito2" 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 memtable</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../mito2/index.html">mito2</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 memtable</a></h2><h3><a href="#reexports">Module Items</a></h3><ul class="block"><li><a href="#reexports" title="Re-exports">Re-exports</a></li><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</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 mito2</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">mito2</a></div><h1>Module <span>memtable</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/mito2/memtable.rs.html#15-736">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Memtables are write buffers for regions.</p>
|
|
</div></details><h2 id="reexports" class="section-header">Re-exports<a href="#reexports" class="anchor">§</a></h2><dl class="item-table reexports"><dt id="reexport.EncodedBulkPart"><code>pub use bulk::part::<a class="struct" href="bulk/part/struct.EncodedBulkPart.html" title="struct mito2::memtable::bulk::part::EncodedBulkPart">EncodedBulkPart</a>;</code></dt><dt id="reexport.BulkPart"><code>pub use bulk::part::<a class="struct" href="bulk/part/struct.BulkPart.html" title="struct mito2::memtable::bulk::part::BulkPart">BulkPart</a>;</code></dt><dt id="reexport.BulkPartEncoder"><code>pub use bulk::part::<a class="struct" href="bulk/part/struct.BulkPartEncoder.html" title="struct mito2::memtable::bulk::part::BulkPartEncoder">BulkPartEncoder</a>;</code></dt><dt id="reexport.BulkPartMeta"><code>pub use bulk::part::<a class="struct" href="bulk/part/struct.BulkPartMeta.html" title="struct mito2::memtable::bulk::part::BulkPartMeta">BulkPartMeta</a>;</code></dt><dt id="reexport.UnorderedPart"><code>pub use bulk::part::<a class="struct" href="bulk/part/struct.UnorderedPart.html" title="struct mito2::memtable::bulk::part::UnorderedPart">UnorderedPart</a>;</code></dt><dt id="reexport.record_batch_estimated_size"><code>pub use bulk::part::<a class="fn" href="bulk/part/fn.record_batch_estimated_size.html" title="fn mito2::memtable::bulk::part::record_batch_estimated_size">record_batch_estimated_size</a>;</code></dt><dt id="reexport.sort_primary_key_record_batch"><code>pub use bulk::part::<a class="fn" href="bulk/part/fn.sort_primary_key_record_batch.html" title="fn mito2::memtable::bulk::part::sort_primary_key_record_batch">sort_primary_key_record_batch</a>;</code></dt></dl><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><dl class="item-table"><dt><a class="mod" href="builder/index.html" title="mod mito2::memtable::builder">builder</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>Builders for time-series memtable</dd><dt><a class="mod" href="bulk/index.html" title="mod mito2::memtable::bulk">bulk</a></dt><dd>Memtable implementation for bulk load</dd><dt><a class="mod" href="partition_tree/index.html" title="mod mito2::memtable::partition_tree">partition_<wbr>tree</a></dt><dd>Memtable implementation based on a partition tree.</dd><dt><a class="mod" href="simple_bulk_memtable/index.html" title="mod mito2::memtable::simple_bulk_memtable">simple_<wbr>bulk_<wbr>memtable</a></dt><dt><a class="mod" href="stats/index.html" title="mod mito2::memtable::stats">stats</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>Internal metrics of the memtable.</dd><dt><a class="mod" href="time_partition/index.html" title="mod mito2::memtable::time_partition">time_<wbr>partition</a></dt><dd>Partitions memtables by time.</dd><dt><a class="mod" href="time_series/index.html" title="mod mito2::memtable::time_series">time_<wbr>series</a></dt><dt><a class="mod" href="version/index.html" title="mod mito2::memtable::version">version</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>Memtable version.</dd></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.AllocTracker.html" title="struct mito2::memtable::AllocTracker">Alloc<wbr>Tracker</a></dt><dd>Memtable memory allocation tracker.</dd><dt><a class="struct" href="struct.EncodedRange.html" title="struct mito2::memtable::EncodedRange">Encoded<wbr>Range</a></dt><dd>Encoded range in the memtable.</dd><dt><a class="struct" href="struct.KeyValues.html" title="struct mito2::memtable::KeyValues">KeyValues</a></dt><dd>Key value view of a mutation.</dd><dt><a class="struct" href="struct.MemScanMetrics.html" title="struct mito2::memtable::MemScanMetrics">MemScan<wbr>Metrics</a></dt><dd>Metrics for scanning a memtable.</dd><dt><a class="struct" href="struct.MemScanMetricsData.html" title="struct mito2::memtable::MemScanMetricsData">MemScan<wbr>Metrics<wbr>Data</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="struct" href="struct.MemtableBuilderProvider.html" title="struct mito2::memtable::MemtableBuilderProvider">Memtable<wbr>Builder<wbr>Provider</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>Provider of memtable builders for regions.</dd><dt><a class="struct" href="struct.MemtableRange.html" title="struct mito2::memtable::MemtableRange">Memtable<wbr>Range</a></dt><dd>A range in the memtable.</dd><dt><a class="struct" href="struct.MemtableRangeContext.html" title="struct mito2::memtable::MemtableRangeContext">Memtable<wbr>Range<wbr>Context</a></dt><dd>Context shared by ranges of the same memtable.</dd><dt><a class="struct" href="struct.MemtableRanges.html" title="struct mito2::memtable::MemtableRanges">Memtable<wbr>Ranges</a></dt><dd>Ranges in a memtable.</dd><dt><a class="struct" href="struct.MemtableStats.html" title="struct mito2::memtable::MemtableStats">Memtable<wbr>Stats</a></dt><dt><a class="struct" href="struct.RangesOptions.html" title="struct mito2::memtable::RangesOptions">Ranges<wbr>Options</a></dt><dd>Options for querying ranges from a memtable.</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.MemtableConfig.html" title="enum mito2::memtable::MemtableConfig">Memtable<wbr>Config</a></dt><dd>Config for memtables.</dd></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.IterBuilder.html" title="trait mito2::memtable::IterBuilder">Iter<wbr>Builder</a></dt><dd>Builder to build an iterator to read the range.
|
|
The builder should know the projection and the predicate to build the iterator.</dd><dt><a class="trait" href="trait.Memtable.html" title="trait mito2::memtable::Memtable">Memtable</a></dt><dd>In memory write buffer.</dd><dt><a class="trait" href="trait.MemtableBuilder.html" title="trait mito2::memtable::MemtableBuilder">Memtable<wbr>Builder</a></dt><dd>Builder to build a new <a href="trait.Memtable.html" title="trait mito2::memtable::Memtable">Memtable</a>.</dd></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.BoxedBatchIterator.html" title="type mito2::memtable::BoxedBatchIterator">Boxed<wbr>Batch<wbr>Iterator</a></dt><dt><a class="type" href="type.BoxedIterBuilder.html" title="type mito2::memtable::BoxedIterBuilder">Boxed<wbr>Iter<wbr>Builder</a></dt><dt><a class="type" href="type.BoxedRecordBatchIterator.html" title="type mito2::memtable::BoxedRecordBatchIterator">Boxed<wbr>Record<wbr>Batch<wbr>Iterator</a></dt><dt><a class="type" href="type.MemtableBuilderRef.html" title="type mito2::memtable::MemtableBuilderRef">Memtable<wbr>Builder<wbr>Ref</a></dt><dt><a class="type" href="type.MemtableId.html" title="type mito2::memtable::MemtableId">Memtable<wbr>Id</a></dt><dd>Id for memtables.</dd><dt><a class="type" href="type.MemtableRangeContextRef.html" title="type mito2::memtable::MemtableRangeContextRef">Memtable<wbr>Range<wbr>Context<wbr>Ref</a></dt><dt><a class="type" href="type.MemtableRef.html" title="type mito2::memtable::MemtableRef">Memtable<wbr>Ref</a></dt></dl></section></div></main></body></html> |