Expand description
Column resolution, expressions, aggregators, topological sort.
Pure computation — no IO, no CLI, no serde. Used by CLI engine and all bindings.
Structs§
- Aggr
State - Column
- Column
Set - ExprEnv
- Parent
Ctx - Per-table context for reconstructing a parent row’s generation environment.
Stored inside
FkandFkDerefvariants. Zero-initialized at parse time; filled byfinalize_fk_columnsbefore generation.
Enums§
Functions§
- check_
expr_ types - column_
domain_ hash - Compute the domain hash for a single column, including alias detection. Use this when reproducing a parent column’s hash for FK recomputation.
- compute_
domain_ hashes - dependencies
- eval_
operand - field_
type - format_
raw_ typed - format_
ref - generate_
from_ columns - generate_
records_ from_ specs - Parse field specs, resolve columns, generate records.
Returns
(column_names, records). Used by all bindings. - parse_
aggr_ spec - resolve_
col_ field_ type - resolve_
column - resolve_
expr_ types - resolve_
field_ specs - Parse field spec strings (CLI-style) into resolved columns with topo sort.
Handles aliases (
name=field:mod), expressions (total=price*qty), aggregators (running=amount:sum). - spec_
display_ name - Display name for a field spec:
name:upper→name_upper,phone:e164→phone_e164. - topo_
sort_ columns