pub struct SpillingHashJoin<'a> { /* private fields */ }Expand description
ASP-Join with spill-to-disk support for large intermediate hash tables.
When the hash map built from a source node’s 2-hop neighbourhood exceeds
SPILL_THRESHOLD entries, the operator partitions intermediate data into
temp files and processes them one partition at a time.
Implementations§
Source§impl<'a> SpillingHashJoin<'a>
impl<'a> SpillingHashJoin<'a>
Sourcepub fn new(csr: &'a CsrForward) -> Self
pub fn new(csr: &'a CsrForward) -> Self
Create with default thresholds.
Sourcepub fn with_thresholds(
csr: &'a CsrForward,
spill_threshold: usize,
num_partitions: usize,
) -> Self
pub fn with_thresholds( csr: &'a CsrForward, spill_threshold: usize, num_partitions: usize, ) -> Self
Create with explicit thresholds (useful for testing spill behaviour).
Auto Trait Implementations§
impl<'a> Freeze for SpillingHashJoin<'a>
impl<'a> RefUnwindSafe for SpillingHashJoin<'a>
impl<'a> Send for SpillingHashJoin<'a>
impl<'a> Sync for SpillingHashJoin<'a>
impl<'a> Unpin for SpillingHashJoin<'a>
impl<'a> UnsafeUnpin for SpillingHashJoin<'a>
impl<'a> UnwindSafe for SpillingHashJoin<'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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more