pub struct VirtualDepBuilder<'a, R: EvaluationContext> { /* private fields */ }Implementations§
Source§impl<'a, R: EvaluationContext> VirtualDepBuilder<'a, R>
impl<'a, R: EvaluationContext> VirtualDepBuilder<'a, R>
pub fn new(engine: &'a Engine<R>) -> Self
Sourcepub fn build(
&self,
candidates: &[VertexId],
) -> (FxHashMap<VertexId, Vec<VertexId>>, Vec<VertexId>)
pub fn build( &self, candidates: &[VertexId], ) -> (FxHashMap<VertexId, Vec<VertexId>>, Vec<VertexId>)
Plan hints for candidates. Under unified_authority a compressed
range read is an ordinary static edge of the relation (R-1), so the
planner already orders every formula inside the range before its
reader; only dynamic readers get hints (design §8.2). Enumerating the
range members costs |readers| × |range formulas| hints (100M for
1,000 SUMIFS over a 100k formula column), and resolving their used
extent at plan time caches it before same-pass spills commit.
Auto Trait Implementations§
impl<'a, R> !RefUnwindSafe for VirtualDepBuilder<'a, R>
impl<'a, R> !UnwindSafe for VirtualDepBuilder<'a, R>
impl<'a, R> Freeze for VirtualDepBuilder<'a, R>
impl<'a, R> Send for VirtualDepBuilder<'a, R>
impl<'a, R> Sync for VirtualDepBuilder<'a, R>
impl<'a, R> Unpin for VirtualDepBuilder<'a, R>
impl<'a, R> UnsafeUnpin for VirtualDepBuilder<'a, R>where
&'a Engine<R>: UnsafeUnpin,
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> 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