Skip to main content

Module pushdown

Module pushdown 

Source
Expand description

Predicate pushdown and index-aware query routing.

Routes WHERE predicates to the most selective execution path: UID index lookup → BTree prefix scan → JSON FTS → Lance columnar filter → residual. Includes SQL injection prevention for LIKE patterns (CWE-89) and UID validation (CWE-345).

Structs§

IndexAwareAnalyzer
Analyzer that considers available indexes when categorizing predicates.
LanceFilterGenerator
Converts pushable predicates to Lance SQL filter strings.
PredicateAnalysis
Split result of predicate analysis: pushable vs residual.
PredicateAnalyzer
Classifies predicates as pushable to Lance or residual (post-scan).
PushdownStrategy
Categorized pushdown strategy for predicates with index awareness.