Re-exports§
pub use crate::api::tier_wiring;pub use crate::api::Capability;pub use crate::api::CapabilitySet;pub use crate::api::CatalogService;pub use crate::api::CatalogSnapshot;pub use crate::api::CollectionStats;pub use crate::api::DataOps;pub use crate::api::QueryPlanner;pub use crate::api::RedDBError;pub use crate::api::RedDBOptions;pub use crate::api::RedDBResult;pub use crate::api::SchemaManifest;pub use crate::api::StorageMode;pub use crate::api::DEFAULT_EXPORT_RETENTION;pub use crate::api::DEFAULT_SNAPSHOT_RETENTION;pub use crate::api::REDDB_FORMAT_VERSION;pub use crate::api::REDDB_PROTOCOL_VERSION;pub use crate::application::AdminUseCases;pub use crate::application::CatalogUseCases;pub use crate::application::EntityUseCases;pub use crate::application::GraphUseCases;pub use crate::application::NativeUseCases;pub use crate::application::QueryUseCases;pub use crate::application::RuntimeAdminPort;pub use crate::application::RuntimeCatalogPort;pub use crate::application::RuntimeEntityPort;pub use crate::application::RuntimeGraphPort;pub use crate::application::RuntimeNativePort;pub use crate::application::RuntimeQueryPort;pub use crate::application::RuntimeSchemaPort;pub use crate::application::SchemaUseCases;pub use crate::catalog::snapshot_store;pub use crate::catalog::CatalogModelSnapshot;pub use crate::catalog::CollectionDescriptor;pub use crate::catalog::CollectionModel;pub use crate::catalog::SchemaMode;pub use crate::engine::EngineInfo;pub use crate::engine::EngineStats;pub use crate::engine::RedDBEngine;pub use crate::grpc::GrpcServerOptions;pub use crate::grpc::GrpcTlsOptions;pub use crate::grpc::RedDBGrpcServer;pub use crate::health::HealthIssue;pub use crate::health::HealthProvider;pub use crate::health::HealthReport;pub use crate::health::HealthState;pub use crate::index::IndexCatalog;pub use crate::index::IndexCatalogSnapshot;pub use crate::index::IndexConfig;pub use crate::index::IndexKind;pub use crate::index::IndexMetric;pub use crate::index::IndexRuntime;pub use crate::index::IndexStats;pub use crate::physical::provision_shm;pub use crate::physical::read_shm_header;pub use crate::physical::set_shm_provisioning_enabled;pub use crate::physical::shm_path_for;pub use crate::physical::shm_provisioning_enabled;pub use crate::physical::ArtifactState;pub use crate::physical::CompactionPolicy;pub use crate::physical::GridLayout;pub use crate::physical::PhysicalIndexState;pub use crate::physical::PhysicalLayout;pub use crate::physical::PhysicalMetadataFile;pub use crate::physical::ShmHandle;pub use crate::physical::ShmProvisionState;pub use crate::physical::WalPolicy;pub use crate::physical::DEFAULT_MANIFEST_EVENT_HISTORY;pub use crate::replication::ReplicationConfig;pub use crate::replication::ReplicationRole;pub use crate::runtime::ConnectionPoolConfig;pub use crate::runtime::RedDBRuntime;pub use crate::runtime::RuntimeConnection;pub use crate::runtime::RuntimeFilter;pub use crate::runtime::RuntimeFilterValue;pub use crate::runtime::RuntimeGraphCentralityAlgorithm;pub use crate::runtime::RuntimeGraphCentralityResult;pub use crate::runtime::RuntimeGraphCentralityScore;pub use crate::runtime::RuntimeGraphClusteringResult;pub use crate::runtime::RuntimeGraphCommunity;pub use crate::runtime::RuntimeGraphCommunityAlgorithm;pub use crate::runtime::RuntimeGraphCommunityResult;pub use crate::runtime::RuntimeGraphComponent;pub use crate::runtime::RuntimeGraphComponentsMode;pub use crate::runtime::RuntimeGraphComponentsResult;pub use crate::runtime::RuntimeGraphCyclesResult;pub use crate::runtime::RuntimeGraphDegreeScore;pub use crate::runtime::RuntimeGraphDirection;pub use crate::runtime::RuntimeGraphEdge;pub use crate::runtime::RuntimeGraphHitsResult;pub use crate::runtime::RuntimeGraphNeighborhoodResult;pub use crate::runtime::RuntimeGraphNode;pub use crate::runtime::RuntimeGraphPath;pub use crate::runtime::RuntimeGraphPathAlgorithm;pub use crate::runtime::RuntimeGraphPathResult;pub use crate::runtime::RuntimeGraphPattern;pub use crate::runtime::RuntimeGraphProjection;pub use crate::runtime::RuntimeGraphTopologicalSortResult;pub use crate::runtime::RuntimeGraphTraversalResult;pub use crate::runtime::RuntimeGraphTraversalStrategy;pub use crate::runtime::RuntimeGraphVisit;pub use crate::runtime::RuntimeIvfMatch;pub use crate::runtime::RuntimeIvfSearchResult;pub use crate::runtime::RuntimeQueryResult;pub use crate::runtime::RuntimeQueryWeights;pub use crate::runtime::RuntimeStats;pub use crate::runtime::ScanCursor;pub use crate::runtime::ScanPage;pub use crate::server::RedDBServer;pub use crate::server::ServerOptions;pub use crate::server::ServerReplicationState;pub use reddb_wire as wire_proto;pub use crate::storage::*;
Modules§
- ai
- External AI provider integration primitives.
- api
- Public API layer for the RedDB crate.
- application
- auth
- Authentication & Authorization
- backup_
bootstrap - Env-driven
BackupBootstrap(issue #517). - catalog
- Logical catalog structures for the unified multi-structure model.
- cli
- cluster
- Shared cluster identity and membership model.
- config
- crypto
- ec
- engine
- Engine layer facade.
- geo
- Geographic computation module.
- grpc
- health
- Health and diagnostics types for RedDB services.
- index
- Index layer contracts and in-memory index catalogue.
- json
- json_
field SerializedJsonField— typed guard for JSON-envelope construction.- log
- High-performance append-only log collections.
- mcp
- MCP (Model Context Protocol) server for RedDB.
- modules
- notifications
- Ephemeral notification primitive (issue #720, PRD #718).
- physical
- Physical storage design primitives for RedDB’s deterministic on-disk layout.
- prelude
- regress
- Regression test harness — Post-MVP credibility item.
- replication
- Replication Module
- rpc_
stdio - JSON-RPC 2.0 line-delimited stdio mode for the
redbinary. - runtime
- Embedded runtime with connection pooling, scans and health.
- serde_
json - server
- Minimal HTTP server for RedDB management and remote access.
- service_
cli - sqlstate
- SQLSTATE error codes — Post-MVP credibility item.
- storage
- streams
- Durable stream primitive (issue #721, PRD #718).
- telemetry
- Structured logging façade over
tracing+tracing-subscriber. - utils
- wire
Macros§
Structs§
- Block
Reference - Export
Descriptor - Manifest
Event - Manifest
Pointers - Physical
Analytics Job - Physical
Graph Projection - ShmHeader
- Snapshot
Descriptor - Superblock
Header - Timeline
History - Timeline
Id
Enums§
Constants§
- DEFAULT_
METADATA_ JOURNAL_ RETENTION - Retention applied when the seq-N catalog journal is enabled at the
Maxtier. Seeseqn_journal_retention. - OPT_
IN_ METADATA_ JOURNAL_ RETENTION - Retention applied when the seq-N catalog journal is opt-in enabled outside
of the
Maxtier, keeping forensics surface minimal on lower tiers. - PHYSICAL_
METADATA_ PROTOCOL_ VERSION - SHM_
FILE_ SIZE - SHM_
HEADER_ SIZE - SHM_
MAGIC - SHM_
VERSION
Functions§
- fold_
dwb_ into_ wal_ enabled - Whether the pager should fold DWB into WAL (no
<data>-dwbsidecar). Reads still tolerate the legacy sidecar so existing databases keep working through the flag flip. - fold_
pager_ meta_ enabled - Whether the pager should fold metadata into page 1 only and skip the
<data>-metasidecar shadow. Reads still tolerate the sidecar so existing databases keep working through the flag flip. - meta_
json_ sidecar_ enabled - Whether new metadata writes should additionally emit the JSON sidecar.
Defaults to
false; opt-in viaset_meta_json_sidecar_enabledor theREDDB_META_JSON_SIDECAR=1env var. Reads always tolerate either JSON or binary. - seqn_
journal_ enabled - Whether new metadata saves should also emit a seq-N journal entry.
- seqn_
journal_ retention - Resolved retention bound for the seq-N journal. Falls back to env
REDDB_SEQN_JOURNAL_RETENTION, then toOPT_IN_METADATA_JOURNAL_RETENTION. - set_
fold_ dwb_ into_ wal_ enabled - Process-wide opt-in for folding the double-write buffer into the WAL via full-page-image records.
- set_
fold_ pager_ meta_ enabled - Process-wide opt-in for folding pager metadata (page 1) into the datafile
without an adjacent
<data>-metashadow. - set_
meta_ json_ sidecar_ enabled - Process-wide opt-in for the legacy
<data>.meta.jsonsidecar. - set_
seqn_ journal_ enabled - Process-wide opt-in for the seq-N catalog journal.
- set_
seqn_ journal_ retention - Process-wide retention for the seq-N journal.
0resets to defaults (env or off-tier baseline).