pub struct IndexScanOperator {
pub index: Arc<dyn Index>,
pub field: String,
pub predicate: Predicate,
}Expand description
Index-driven scan. Wraps a boxed uqa_storage::Index and runs
scan(predicate) against
it. The optimiser’s apply_index_scan rewrites a Filter into
this when an index covers the predicate.
Fields§
§index: Arc<dyn Index>§field: String§predicate: PredicateImplementations§
Trait Implementations§
Source§impl Operator for IndexScanOperator
impl Operator for IndexScanOperator
fn execute(&self, _ctx: &ExecutionContext) -> OperatorResult
fn cost_estimate(&self, _stats: &IndexStats) -> f64
Auto Trait Implementations§
impl !RefUnwindSafe for IndexScanOperator
impl !UnwindSafe for IndexScanOperator
impl Freeze for IndexScanOperator
impl Send for IndexScanOperator
impl Sync for IndexScanOperator
impl Unpin for IndexScanOperator
impl UnsafeUnpin for IndexScanOperator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more