Skip to main content

Module result

Module result 

Source
Expand description

Execution Result Types

This module provides result types for SQL query execution.

Structs§

AliasedResult
Neutral result wrapper that changes column presentation only.
ColumnarResult
Columnar result that stores data column-major and materializes rows lazily.
DistinctOnResult
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.
DistinctResult
Streaming distinct result that removes duplicate rows on-the-fly
ExecResult
Execution result for DML operations (INSERT, UPDATE, DELETE)
ExecutorResult
ExprMappedResult
Expression-based mapped result with pre-compiled projections
FilteredResult
Filtered result that applies a WHERE clause to an underlying result
LimitedResult
Limited result that applies LIMIT and OFFSET to an underlying result
OrderedResult
Ordered result that sorts rows by ORDER BY expressions
ProjectedResult
Projected result that removes extra columns (e.g., ORDER BY columns not in SELECT)
RadixOrderSpec
Order specification for radix sort
ScannerResult
Neutral query-result adapter backed directly by a storage scanner.
StreamingProjectionResult
Streaming projection result that projects columns row-by-row
TopNResult
Top-N result using a bounded heap for ORDER BY + LIMIT optimization

Type Aliases§

ExecutionResult
Internal streaming output of SQL execution.