pub struct JoinEngine<'a, TIndex: Serialize + Hash + Clone + Eq + Ord> {
pub idx_this: &'a HashableIndex<TIndex>,
pub idx_other: &'a HashableIndex<TIndex>,
}
Expand description
JoinEngineidx_this
is the LHS and idx_other
is the RHS. Indicies are passed by reference
Fields§
§idx_this: &'a HashableIndex<TIndex>
§idx_other: &'a HashableIndex<TIndex>
Implementations§
Source§impl<'a, TIndex: Serialize + Hash + Clone + Eq + Ord> JoinEngine<'a, TIndex>
impl<'a, TIndex: Serialize + Hash + Clone + Eq + Ord> JoinEngine<'a, TIndex>
Sourcepub fn get_inner_hash_joined_indicies(&self) -> Vec<IndexJoinPair>
pub fn get_inner_hash_joined_indicies(&self) -> Vec<IndexJoinPair>
Hash inner join
Sourcepub fn get_left_hash_joined_indicies(
&self,
) -> Vec<IndexJoinPotentiallyUnmatchedPair>
pub fn get_left_hash_joined_indicies( &self, ) -> Vec<IndexJoinPotentiallyUnmatchedPair>
Hash join left.
All left values are joined so no Option
Sourcepub fn get_left_merge_joined_indicies(
&self,
) -> Vec<IndexJoinPotentiallyUnmatchedPair>
pub fn get_left_merge_joined_indicies( &self, ) -> Vec<IndexJoinPotentiallyUnmatchedPair>
Left Merge Join
Sourcepub fn get_inner_merge_joined_indicies(&self) -> Vec<IndexJoinPair>
pub fn get_inner_merge_joined_indicies(&self) -> Vec<IndexJoinPair>
merge sort join join a and b.
Sourcepub fn get_asof_merge_joined_indicies(
&self,
compare_func: Option<Box<dyn Fn(&TIndex, &TIndex, &TIndex) -> (Ordering, i64)>>,
other_idx_func: Option<Box<dyn Fn(usize) -> usize>>,
) -> Vec<IndexJoinPotentiallyUnmatchedPair>
pub fn get_asof_merge_joined_indicies( &self, compare_func: Option<Box<dyn Fn(&TIndex, &TIndex, &TIndex) -> (Ordering, i64)>>, other_idx_func: Option<Box<dyn Fn(usize) -> usize>>, ) -> Vec<IndexJoinPotentiallyUnmatchedPair>
as of join. this is a variation of merge join that allows for indicies to be equal based on a custom comperator func
Auto Trait Implementations§
impl<'a, TIndex> Freeze for JoinEngine<'a, TIndex>
impl<'a, TIndex> RefUnwindSafe for JoinEngine<'a, TIndex>where
TIndex: RefUnwindSafe,
impl<'a, TIndex> Send for JoinEngine<'a, TIndex>where
TIndex: Sync,
impl<'a, TIndex> Sync for JoinEngine<'a, TIndex>where
TIndex: Sync,
impl<'a, TIndex> Unpin for JoinEngine<'a, TIndex>
impl<'a, TIndex> UnwindSafe for JoinEngine<'a, TIndex>where
TIndex: RefUnwindSafe,
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