pub struct TableSet { /* private fields */ }Expand description
A set of table indices.
Implementations§
Source§impl TableSet
impl TableSet
Sourcepub fn is_empty(&self) -> bool
pub fn is_empty(&self) -> bool
Whether the set holds nothing, which is what a predicate over no column reads.
Sourcepub fn is_subset_of(&self, other: &Self) -> bool
pub fn is_subset_of(&self, other: &Self) -> bool
Whether everything in this set is also in other.
The question filter pushdown asks of every predicate at every join. An empty set is a subset of everything, which is the right answer for a predicate that reads no column: it gives the same answer wherever it is evaluated.
Trait Implementations§
impl Eq for TableSet
impl StructuralPartialEq for TableSet
Auto Trait Implementations§
impl Freeze for TableSet
impl RefUnwindSafe for TableSet
impl Send for TableSet
impl Sync for TableSet
impl Unpin for TableSet
impl UnsafeUnpin for TableSet
impl UnwindSafe for TableSet
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