Expand description
Register execution-owned extension contracts in the engine.
Structs§
- RegisteredSQL
Function - SQLFunction
Context - Host-owned invocation data belonging to the calling session. Registrations are shared across sessions; this data travels with execution, including worker and retained-portal execution, instead of with the registered code. Hosts should store weak session references here to avoid ownership cycles.
- SQLFunction
Options - Execution properties declared for a Rust-backed SQL callback.
- SQLRow
Stream - A fused row stream that closes its producer on EOF, failure or explicit
early termination. A cleanup failure is a query error, never EOF. Dropping
an abandoned stream is best-effort cleanup; execution must call
closewhile it can still report an error to its consumer. - SQLTable
Function Result - Result shape returned by a registered SQL table function.
- SQLTable
Function Stream - Pull-based result returned by a registered SQL table function.
Enums§
- SQLFunction
Volatility IMMUTABLE/STABLE/VOLATILEmarker.
Traits§
- Aggregate
Function Registry - Typed lookup of registered aggregate factories during physical plan preparation.
- SQLAggregate
Factory - Fallible creation of an independent SQL aggregate state.
- SQLAggregate
Function - Infallible factory retained for existing Rust aggregate implementations.
- SQLAggregate
State - Per-group state for a registered SQL aggregate function.
- SQLRow
Source - A row producer whose resources require fallible cleanup. A successful
construction transfers its resources to
SQLRowStream.closemust release them even when it reports an error; it is invoked at most once. - SQLScalar
Function - Rust implementation of a scalar SQL function.
- SQLTable
Function - Rust implementation of a SQL table function used in
FROM.