pub struct LeapfrogJoin<'a> { /* private fields */ }Expand description
Leapfrog trie join implementation.
This performs worst-case optimal joins over multiple trie iterators.
Implementations§
Source§impl<'a> LeapfrogJoin<'a>
impl<'a> LeapfrogJoin<'a>
Sourcepub fn new(iters: Vec<TrieIterator<'a>>) -> Self
pub fn new(iters: Vec<TrieIterator<'a>>) -> Self
Creates a new leapfrog join over the given iterators.
All iterators must be at the same level (representing the same variable).
Sourcepub fn open(&self) -> Option<Vec<TrieIterator<'a>>>
pub fn open(&self) -> Option<Vec<TrieIterator<'a>>>
Opens the current level and returns iterators for the next level.
Auto Trait Implementations§
impl<'a> Freeze for LeapfrogJoin<'a>
impl<'a> RefUnwindSafe for LeapfrogJoin<'a>
impl<'a> Send for LeapfrogJoin<'a>
impl<'a> Sync for LeapfrogJoin<'a>
impl<'a> Unpin for LeapfrogJoin<'a>
impl<'a> UnwindSafe for LeapfrogJoin<'a>
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