pub struct InHashSetExpression {
pub token: Token,
pub column: Box<Expression>,
pub values: CompactArc<ValueSet>,
pub not: bool,
}Expand description
Pre-computed IN expression with HashSet for O(1) lookup
This is used by the semi-join optimization to avoid rebuilding the HashSet on every row during parallel filtering. Arc enables cheap cloning when the expression is cloned for parallel execution.
Fields§
§token: Token§column: Box<Expression>The column/expression to check
values: CompactArc<ValueSet>Pre-computed ValueSet for O(1) lookup - Arc for cheap parallel cloning
not: boolWhether this is NOT IN
Trait Implementations§
Source§impl Clone for InHashSetExpression
impl Clone for InHashSetExpression
Source§fn clone(&self) -> InHashSetExpression
fn clone(&self) -> InHashSetExpression
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InHashSetExpression
impl Debug for InHashSetExpression
Source§impl Display for InHashSetExpression
impl Display for InHashSetExpression
Auto Trait Implementations§
impl Freeze for InHashSetExpression
impl RefUnwindSafe for InHashSetExpression
impl Send for InHashSetExpression
impl Sync for InHashSetExpression
impl Unpin for InHashSetExpression
impl UnsafeUnpin for InHashSetExpression
impl UnwindSafe for InHashSetExpression
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