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§
- Index
Aware Analyzer - Analyzer that considers available indexes when categorizing predicates.
- Lance
Filter Generator - Converts pushable predicates to Lance SQL filter strings.
- Predicate
Analysis - Split result of predicate analysis: pushable vs residual.
- Predicate
Analyzer - Classifies predicates as pushable to Lance or residual (post-scan).
- Pushdown
Strategy - Categorized pushdown strategy for predicates with index awareness.