Expand description
DataCraft query layer — QBE model, criteria parsing, evaluation.
This crate holds the query-facing half of the engine: the QBE document model (serde), the typed criteria parser, the QBE evaluation, native saved-query execution and the native-query port vocabulary.
It depends only on datacraft-expr and datacraft-types; the command
bus re-exports these modules, so clients keep addressing
datacraft_core::{qbe, query_engine, native_exec, query_criteria} and
the native-query port paths (phase 76, item L37).
Modules§
- native_
exec - Native select-query execution (step 27.1, item M12).
- native_
query - The native saved-query vocabulary (M3) — split from the port root (step 36.7) to keep every file under the 500-line size gate, then moved with the query layer (step 76.3, item L37). The decodable MSysQueries subset and its QBE projection live here; the command layer’s port root re-exports the vocabulary and owns the trait.
- qbe
- QBE query model (step 7.2, item H26; decision default 7).
- query_
criteria - Criteria parsing (step 7.3, item H27).
- query_
engine - In-memory query engine (step 7.3, item H27; decision default 7).
- sql_
types - Data types of the SQL window (step 13.3, item H37; split from the engine in step 31.2 so the snapshot vocabulary stays C-free).