Skip to main content

Module query

Module query 

Source
Expand description

Minimal typed query AST, planning, and execution (0.7.0).

Structs§

OrderBy
Query
QueryRowIter
Pull-based row iterator for simple queries (0.7 execution boundary).

Enums§

OrderDirection
Predicate

Functions§

execute_query
execute_query_iter
Same planning and row sources as execute_query, but as a lazy iterator.
execute_query_iter_owned
Like execute_query_iter, but holds an owned live snapshot (for attached read-only handles).
execute_query_iter_with_spill_path
Like execute_query_iter, but when q.order_by is set this will attempt a bounded-memory external sort by spilling ephemeral Temp segments to a dedicated temporary file.
explain_query
spillable_group_count_sum_i64
Spillable aggregation (v0): group-by one int64 field and compute COUNT + SUM(int64).
spillable_hash_join_match_count_i64
Minimal spill-capable join foundation (v0): equi-join match count on one int64 key.