Skip to main content

Module predicate

Module predicate 

Source
Expand description

Preparation of SQL predicates for physical storage scans.

Structs§

PreparedPredicate
One prepared predicate shared by index selection and scan construction. effective preserves the statement-level predicate for feedback and cache identity; residual is the exact executor-side remainder after pushdown.

Functions§

build_alias_map_excluding
Build aliases that do not shadow real FROM columns. SQL WHERE binding must prefer a source column when an output alias has the same name.
prepare_bound_predicate
Prepare a predicate for paths whose SQL binding has already been resolved by their caller (temporal and certified narrow scans).
prepare_scan_predicate
Resolve SELECT aliases, simplify constants, substitute correlated outer values and split the result into storage and residual predicates.
substitute_aliases
Substitute already-bound SELECT aliases inside a predicate.

Type Aliases§

DirectPushdown