pub trait PlannerIndexExt {
// Required method
fn create_filter_plan(
&self,
filter: Expr,
index_info: &dyn IndexInformationProvider,
use_scalar_index: bool,
) -> Result<FilterPlan>;
}
Required Methods§
Sourcefn create_filter_plan(
&self,
filter: Expr,
index_info: &dyn IndexInformationProvider,
use_scalar_index: bool,
) -> Result<FilterPlan>
fn create_filter_plan( &self, filter: Expr, index_info: &dyn IndexInformationProvider, use_scalar_index: bool, ) -> Result<FilterPlan>
Determine how to apply a provided filter
We parse the filter into a logical expression. We then split the logical expression into a portion that can be satisfied by an index search (of one or more indices) and a refine portion that must be applied after the index search