pub struct PreparedPredicate<'a> {
pub storage: Option<Box<dyn StorageExpression>>,
pub residual: Option<Expression>,
/* private fields */
}Expand description
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.
Fields§
§storage: Option<Box<dyn StorageExpression>>§residual: Option<Expression>Implementations§
Source§impl<'a> PreparedPredicate<'a>
impl<'a> PreparedPredicate<'a>
pub fn effective(&self) -> Option<&Expression>
pub fn memory_filter(&self) -> Option<&Expression>
pub fn needs_memory_filter(&self) -> bool
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for PreparedPredicate<'a>
impl<'a> !UnwindSafe for PreparedPredicate<'a>
impl<'a> Freeze for PreparedPredicate<'a>
impl<'a> Send for PreparedPredicate<'a>
impl<'a> Sync for PreparedPredicate<'a>
impl<'a> Unpin for PreparedPredicate<'a>
impl<'a> UnsafeUnpin for PreparedPredicate<'a>
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