Expand description
StorageEngine Trait Abstraction (Task 1)
Decouples the query engine from concrete storage implementations. Enables pluggable backends: LSMTree for compatibility, Lscs for columnar TOON workloads.
§I/O Reduction Model
Traditional Row I/O: O(N × K) where N=rows, K=total columns
Columnar I/O: O(N × k) where k=selected columns
For k/K = 0.2 (typical TOON projection):
I/O_reduction = 1 - (k/K) = 80%Structs§
- Column
Iterator - Iterator over columns
- Lscs
Adapter - Adapter to make Lscs implement StorageEngine
- Row
- A row of data with column values
- Storage
Stats - Storage engine statistics
- TxnHandle
- Transaction handle for ACID operations
Enums§
- Storage
Engine Type - Storage engine types
Traits§
- Storage
Engine - StorageEngine trait - the core abstraction for pluggable storage backends
Functions§
- open_
storage_ engine - Open a storage engine from a path