Expand description
Execution Result Types
This module provides result types for SQL query execution.
Structs§
- Aliased
Result - Neutral result wrapper that changes column presentation only.
- Columnar
Result - Columnar result that stores data column-major and materializes rows lazily.
- Distinct
OnResult - DISTINCT ON result — keeps only the first row per unique combination of the specified key columns. Uses hash-based deduplication so the input does not need to be sorted by the key columns (ORDER BY controls which row is “first” because the input stream preserves ORDER BY order). Memory usage is O(groups) where groups is the number of unique key combinations, not total rows.
- Distinct
Result - Streaming distinct result that removes duplicate rows on-the-fly
- Exec
Result - Execution result for DML operations (INSERT, UPDATE, DELETE)
- Executor
Result - Expr
Mapped Result - Expression-based mapped result with pre-compiled projections
- Filtered
Result - Filtered result that applies a WHERE clause to an underlying result
- Limited
Result - Limited result that applies LIMIT and OFFSET to an underlying result
- Ordered
Result - Ordered result that sorts rows by ORDER BY expressions
- Projected
Result - Projected result that removes extra columns (e.g., ORDER BY columns not in SELECT)
- Radix
Order Spec - Order specification for radix sort
- Scanner
Result - Neutral query-result adapter backed directly by a storage scanner.
- Streaming
Projection Result - Streaming projection result that projects columns row-by-row
- TopN
Result - Top-N result using a bounded heap for ORDER BY + LIMIT optimization
Type Aliases§
- Execution
Result - Internal streaming output of SQL execution.