Expand description
Module: model
Responsibility: module-local ownership and contracts for model. Does not own: cross-module orchestration outside this module. Boundary: exposes this module API while keeping implementation details internal. Runtime data model definitions.
This module contains the runtime representations of schema-level concepts,
as opposed to their declarative or macro-time forms. Types in model are
instantiated and used directly by query planning, executors, and storage
layers.
Currently this includes index-related models, but the module is intended to grow to encompass additional runtime schema nodes (e.g. entities, fields, or constraints) as IcyDB’s internal model is made more explicit.
In general:
- Schema / macro code defines what exists
modeldefines what runs
Model types are internal runtime artifacts derived from typed entities. Downstream code should not construct them manually except in tests that intentionally exercise invalid or edge-case schemas.
Structs§
- Entity
Model - EntityModel
- Enum
Variant Model - EnumVariantModel
- Field
Model - FieldModel
- Index
Model - IndexModel
Enums§
- Field
Kind - FieldKind
- Field
Storage Decode - FieldStorageDecode
- Index
Expression - IndexExpression
- Index
KeyItem - IndexKeyItem
- Index
KeyItems Ref - IndexKeyItemsRef
- Relation
Strength - RelationStrength