Skip to main content

Module functions

Module functions 

Source
Expand description

Register execution-owned extension contracts in the engine.

Structs§

RegisteredSQLFunction
SQLFunctionContext
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.
SQLFunctionOptions
Execution properties declared for a Rust-backed SQL callback.
SQLRowStream
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 close while it can still report an error to its consumer.
SQLTableFunctionResult
Result shape returned by a registered SQL table function.
SQLTableFunctionStream
Pull-based result returned by a registered SQL table function.

Enums§

SQLFunctionVolatility
IMMUTABLE / STABLE / VOLATILE marker.

Traits§

AggregateFunctionRegistry
Typed lookup of registered aggregate factories during physical plan preparation.
SQLAggregateFactory
Fallible creation of an independent SQL aggregate state.
SQLAggregateFunction
Infallible factory retained for existing Rust aggregate implementations.
SQLAggregateState
Per-group state for a registered SQL aggregate function.
SQLRowSource
A row producer whose resources require fallible cleanup. A successful construction transfers its resources to SQLRowStream. close must release them even when it reports an error; it is invoked at most once.
SQLScalarFunction
Rust implementation of a scalar SQL function.
SQLTableFunction
Rust implementation of a SQL table function used in FROM.