Skip to main content

Module storage

Module storage 

Source

Re-exports§

pub use backend::BackendError;
pub use backend::LocalBackend;
pub use backend::RemoteBackend;
pub use embedded::EmbeddedRdbArtifact;
pub use keyring::clear_keyring;
pub use keyring::has_keyring_password;
pub use keyring::resolve_password;
pub use keyring::save_to_keyring;
pub use keyring::PasswordSource;
pub use memory_budget::InvalidMemoryBudget;
pub use memory_budget::MemoryBudget;
pub use memory_budget::MemoryBudgetInputs;
pub use memory_budget::MemoryBudgetSource;
pub use memory_pools::BudgetSharePolicy;
pub use memory_pools::BudgetShares;
pub use memory_pools::MemoryAccounting;
pub use memory_pools::MemoryPool;
pub use memory_pools::PoolUsage;
pub use memory_pools::MEMORY_POOLS;
pub use memory_pools::MEMORY_POOL_COUNT;
pub use profile::DeployProfile;
pub use profile::StorageDeployPreset;
pub use profile::StoragePackaging;
pub use profile::StorageProfileSelection;

Modules§

backend
Storage Backend Abstraction
blockchain
Blockchain collection kind — pure logic.
cache
Cache Module
columnar_projection
Columnar analytics projection — first end-to-end tracer (ADR 0069, #1766).
compact
Offline native file rewrite. Offline native rewrite. Source is read-locked against writers and never opened by a recovering writer. A new directory owns all output; the main filename is published only after sync and a complete record-by-record readback.
embedded
Server-facing wrapper for the RedDB file artifact layer.
encryption
engine
RedDB Storage Engine
fdw
Foreign Data Wrapper framework (Phase 3.2 PG parity).
graph
Graph storage stable contract surface — issue #744.
import
index
Unified index abstraction shared across RedDB data structures.
keyring
Keyring integration for secure password storage
layout
Compatibility exports for RedDB file layout contracts.
memory_budget
Boot-time memory budget resolver — ADR 0073 §1 made executable.
memory_pools
Budget shares and the one shared accounting pool — ADR 0073 §2 made executable.
ml
Machine Learning subsystem — registry, versioning, async job queue.
primitives
Low-level storage primitives
profile
Storage/deploy profile selection contract.
query
Query Engine for RedDB
queue
Queue / Deque Storage Module
schema
RedDB Schema System
signed_writes
Signed Writes — pure logic for CREATE COLLECTION ... SIGNED_BY (...).
timeseries
Time-Series Storage Module
transaction
Live transaction snapshot and visibility support.
vector
Vector storage stable contract surface — issue #743.
wal
Write-Ahead Log (WAL) for RedDB durability.

Structs§

AdjacencyEntry
An adjacency entry representing a single edge
CrossRef
A cross-reference between entities
DslFilter
A filter condition
EdgeData
Data for a graph edge
EmbeddedRdbManifest
EmbeddedRdbOpen
EmbeddedRdbSuperblock
EmbeddingSlot
A slot for embedding a specific aspect of an entity
Entity
A unified entity that can represent any storage type
EntityId
Unique identifier for any entity in the unified storage
GraphAdjacencyIndex
Graph adjacency index for fast edge/neighbor lookups
GraphQueryBuilder
Builder for graph traversal queries
HybridQueryBuilder
Builder for complex hybrid queries
IndexConfig
Configuration for the integrated index system
IndexEvent
Index lifecycle event for tracking
IndexManager
Integrated Index Manager combining all index types
IndexStats
Statistics about the index system
IntegratedIndexConfig
Configuration for the integrated index system
IntegratedIndexManager
Integrated Index Manager combining all index types
InvertedIndex
Inverted index for full-text search
LayoutOverrides
Optional per-toggle override applied after preset expansion.
LayoutToggles
Fully expanded layout toggles after applying a preset and overrides.
LogRoutingOverrides
Per-log destination overrides. None keeps the tier default.
ManagerConfig
Configuration for the segment manager
ManagerStats
Manager statistics
MatchComponents
Score components from different query modes
Metadata
Metadata for an entity (key-value pairs)
MetadataStorage
Type-aware metadata storage
NodeData
Data for a graph node
Query
Query builder entry point. Start all queries with Q::.
QueryResult
Result from a DSL query execution
QueryResultItem
Single item in query results
RedDB
RedDB - Unified Database with Best-in-Class DevX
RefQueryBuilder
Builder for cross-reference traversal
RowData
Data for a table row
ScanQueryBuilder
Builder for full collection scans
ScoredMatch
A matched entity with score and source information
SegmentManager
Segment manager for a collection
SegmentStats
Segment statistics
SimilarResult
Result of a similarity search
SparseVector
Sparse vector representation
Store
Unified storage for tables, graphs, and vectors
StoreStats
Statistics for UnifiedStore
TableQueryBuilder
Builder for table/collection queries
TextSearchBuilder
Builder for full-text search queries
TextSearchResult
Result from a text search
TieredLayoutPaths
Deterministic paths derived from a data file and expanded layout.
TimeSeriesData
Time-series data point
TimeSeriesPointKind
UnifiedEntity
A unified entity that can represent any storage type
UnifiedSegmentConfig
Configuration for segments
UnifiedStore
Unified storage for tables, graphs, and vectors
UnifiedStoreConfig
Configuration for UnifiedStore
VectorData
Data for a vector
VectorQueryBuilder
Builder for vector similarity queries
VectorSearchResult
Result from a vector similarity search
WhereClause
Fluent where clause for filter conditions

Enums§

EdgeDirection
Edge direction for adjacency lookups
EntityData
The actual data content of an entity
EntityKind
The kind of entity (what storage type it belongs to)
FilterOp
Filter operation
FilterValue
Filter value
IndexEventKind
IndexStatus
Status of an index operation
IndexType
Types of indices that can be managed
LifecycleEvent
Lifecycle events for monitoring
LogDestination
Where a log stream should be written.
MetadataQueryFilter
Filter for metadata queries
MetadataType
Metadata type enumeration
MetadataValue
Metadata value types
NativeHeaderRepairPolicy
RefType
Types of cross-references between entities
SegmentError
Segment error types
SegmentState
Segment state in its lifecycle
SortOrder
StorageLayout
Storage layout preset for tier-aware RedDB file placement.
StoreError
Errors from UnifiedStore operations
TraversalDirection
UnifiedMetadataFilter
Metadata filter operations

Constants§

EMBEDDED_RDB_MANIFEST_0_OFFSET
EMBEDDED_RDB_MANIFEST_1_OFFSET
EMBEDDED_RDB_MANIFEST_SLOT_SIZE
The manifest zone is a ping-pong pair, exactly like the superblock zone.
EMBEDDED_RDB_MANIFEST_ZONE_END
EMBEDDED_RDB_SUPERBLOCK_0_OFFSET
EMBEDDED_RDB_SUPERBLOCK_1_OFFSET
EMBEDDED_RDB_SUPERBLOCK_SIZE
FIRST_USER_ENTITY_ID
The first entity-id handed to user-inserted data. Ids 1..FIRST_USER_ENTITY_ID are reserved for the internal collection-descriptor and config-default entities the engine seeds at boot, so the first user-inserted rid is a STABLE, documented value regardless of how many config defaults a build ships.

Traits§

UnifiedSegment
A unified segment that stores all entity types

Type Aliases§

UnifiedSegmentId
Unique identifier for a segment