Re-exports§
pub use types::DataType;pub use types::FieldDef;pub use types::TableDef;pub use types::Value;pub use types::Result;pub use types::RemDbError;pub use types::IndexType;pub use types::MAX_STRING_LEN;pub use table::MemoryTable;pub use index::PrimaryIndex;pub use index::SecondaryIndex;pub use index::BTreeIndex;pub use index::TTreeIndex;pub use index::IndexStats;pub use index::AnySecondaryIndex;pub use index::PrimaryIndexItem;pub use transaction::Transaction;pub use transaction::TransactionType;pub use transaction::TransactionManager;pub use monitor::DbMetrics;pub use monitor::DbMetricsSnapshot;pub use monitor::HealthStatus;pub use monitor::HealthCheckResult;pub use time_series::TimeSeriesTable;pub use time_series::TimeSeriesTableDef;pub use time_series::TimeSeriesRecord;pub use time_series::TimeSeriesConfig;pub use time_series::TimeSeriesIndex;pub use time_series::CompressionType;
Modules§
Macros§
Structs§
- Field
Constraint - 字段约束信息
- RemDb
- 数据库实例
Traits§
- DdlExecutor
- DDL执行器trait,定义创建表、索引和时序表的方法
Functions§
- get_
global_ db - 获取全局数据库实例
- init_
global_ db - 初始化数据库全局实例 注意:这是一个简化的实现,实际应用中应该根据需要创建数据库实例
- reset_
global_ db - 重置全局数据库实例 用于测试场景,确保测试之间的隔离