pub enum CacheLookupResult {
ExactHit(CompactArc<Vec<Row>>),
SubsumptionHit {
rows: CompactArc<Vec<Row>>,
filter: Box<Expression>,
columns: Vec<String>,
},
Miss,
}Expand description
Result of a cache lookup
Variants§
ExactHit(CompactArc<Vec<Row>>)
Exact match found (Arc for zero-copy sharing)
SubsumptionHit
Subsumption match found - apply filter to get results
Fields
§
rows: CompactArc<Vec<Row>>Rows to filter (Arc for zero-copy sharing)
§
filter: Box<Expression>Filter predicate to apply
Miss
No match found
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CacheLookupResult
impl RefUnwindSafe for CacheLookupResult
impl Send for CacheLookupResult
impl Sync for CacheLookupResult
impl Unpin for CacheLookupResult
impl UnsafeUnpin for CacheLookupResult
impl UnwindSafe for CacheLookupResult
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