icydb_core/model/mod.rs
1//! Module: model
2//!
3//! Responsibility: runtime schema-model types consumed by planning and execution.
4//! Does not own: declarative schema ASTs or macro-time code generation surfaces.
5//! Boundary: internal runtime model layer derived from typed entities and indexes.
6//!
7//! This module contains the runtime representations of schema-level concepts,
8//! as opposed to their declarative or macro-time forms. Types in `model` are
9//! instantiated and used directly by query planning, executors, and storage
10//! layers.
11
12pub(crate) mod entity;
13pub(crate) mod field;
14pub(crate) mod index;
15
16// re-exports
17pub use entity::EntityModel;
18pub use field::{
19 EnumVariantModel, FieldInsertGeneration, FieldKind, FieldModel, FieldStorageDecode,
20 FieldWriteManagement, RelationStrength,
21};
22pub use index::{
23 GeneratedIndexPredicateResolver, IndexExpression, IndexKeyItem, IndexKeyItemsRef, IndexModel,
24 IndexPredicateMetadata,
25};