1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The Lance Authors
//! Read path for MemTable.
//!
//! This module provides query execution over MemTable data using DataFusion.
//!
//! ## Architecture
//!
//! ```text
//! MemTableScanner (Builder)
//! |
//! create_plan()
//! |
//! +------------+------------+
//! | |
//! Full Scan Index Query
//! | |
//! v v
//! MemTableScanExec IndexExec
//! | |
//! +------------+------------+
//! |
//! DataFusion Execution
//! |
//! v
//! SendableRecordBatchStream
//! ```
//!
//! ## Key Features
//!
//! - **MVCC Visibility**: All scans respect visibility sequence numbers
//! - **Index Support**: BTree, IVF-PQ vector, and FTS indexes
//! - **DataFusion Integration**: Full ExecutionPlan compatibility
pub use MemTableScanner;
pub use ;