pub struct HashJoinOperator { /* private fields */ }Expand description
Hash join operator.
Builds a hash table from the build side (right) and probes with the probe side (left). Efficient for equality joins on one or more columns.
Implementations§
Source§impl HashJoinOperator
impl HashJoinOperator
Sourcepub fn new(
probe_side: Box<dyn Operator>,
build_side: Box<dyn Operator>,
probe_keys: Vec<usize>,
build_keys: Vec<usize>,
join_type: JoinType,
output_schema: Vec<LogicalType>,
) -> Self
pub fn new( probe_side: Box<dyn Operator>, build_side: Box<dyn Operator>, probe_keys: Vec<usize>, build_keys: Vec<usize>, join_type: JoinType, output_schema: Vec<LogicalType>, ) -> Self
Creates a new hash join operator.
§Arguments
probe_side- Left side operator (will be probed).build_side- Right side operator (will build hash table).probe_keys- Column indices on probe side for join keys.build_keys- Column indices on build side for join keys.join_type- Type of join to perform.output_schema- Schema of the output (probe columns + build columns).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HashJoinOperator
impl !RefUnwindSafe for HashJoinOperator
impl Send for HashJoinOperator
impl Sync for HashJoinOperator
impl Unpin for HashJoinOperator
impl !UnwindSafe for HashJoinOperator
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