Skip to main content

Module function_catalog

Module function_catalog 

Source
Expand description

Re-export shim for the function catalog.

The function catalog — static table of built-in scalar / aggregate signatures — is mutually recursive with the coercion spine (function_catalog::resolve delegates to coercion_spine::resolve_function), so it travelled with the spine into the neutral keystone crate reddb_types (ADR 0052). This shim keeps the historical storage::schema::function_catalog path resolving so existing call-sites stay untouched.

Structs§

FunctionEntry
One signature in the static function catalog.

Enums§

FunctionKind
Function classification — affects resolver behavior and downstream planner cost estimation.

Constants§

FUNCTION_CATALOG
The static function catalog. Append-only; removing a row is a breaking change that may invalidate cached plans referencing the function. Each block is grouped by category for readability.

Functions§

lookup
Look up a function by name, returning the slice of overloads (possibly empty). The resolver walks this slice and picks the best match using its own coercion logic.
resolve
Resolve a function call to the best-matching overload. Returns None when no overload matches the call-site argument types (after implicit coercion).