Skip to main content

JoinedGroupedBuilder

Struct JoinedGroupedBuilder 

Source
pub struct JoinedGroupedBuilder<S, O, F, C, K, V, R, Acc: Accumulator<V, R>, W, Sc> { /* private fields */ }
Expand description

Finalizer for grouped joined rows.

Implementations§

Source§

impl<S, O, F, C, K, V, R, Acc, W, Sc> JoinedGroupedBuilder<S, O, F, C, K, V, R, Acc, W, Sc>
where S: Send + Sync + 'static, O: Operator<S> + Send + Sync, for<'a> O::View<'a>: ExplainRow, F: for<'a> Fn(&O::View<'a>) -> K + Send + Sync + 'static, C: for<'a> Collector<O::View<'a>, Value = V, Result = R, Accumulator = Acc> + 'static, K: Eq + Hash + Clone + Send + Sync + 'static, V: Send + Sync + 'static, R: Send + Sync + 'static, Acc: Accumulator<V, R> + 'static, W: Fn(&K, &R) -> Sc + Send + Sync, Sc: Score + 'static,

Source

pub fn named( self, name: &str, ) -> OperatorTerminal<S, GroupNode<O, F, C, K, Acc, V, R>, impl Fn(&S, &GroupView<'_, S, O, K, Acc, V, R>) -> Sc + Send + Sync, Sc>

Finalizes the grouped constraint without copying collector results.

Auto Trait Implementations§

§

impl<S, O, F, C, K, V, R, Acc, W, Sc> Freeze for JoinedGroupedBuilder<S, O, F, C, K, V, R, Acc, W, Sc>
where GroupNode<O, F, C, K, Acc, V, R>: Freeze, W: Freeze, PhantomData<fn() -> (S, Sc)>: Freeze,

§

impl<S, O, F, C, K, V, R, Acc, W, Sc> RefUnwindSafe for JoinedGroupedBuilder<S, O, F, C, K, V, R, Acc, W, Sc>
where GroupNode<O, F, C, K, Acc, V, R>: RefUnwindSafe, W: RefUnwindSafe, PhantomData<fn() -> (S, Sc)>: RefUnwindSafe,

§

impl<S, O, F, C, K, V, R, Acc, W, Sc> Send for JoinedGroupedBuilder<S, O, F, C, K, V, R, Acc, W, Sc>
where GroupNode<O, F, C, K, Acc, V, R>: Send, W: Send, PhantomData<fn() -> (S, Sc)>: Send,

§

impl<S, O, F, C, K, V, R, Acc, W, Sc> Sync for JoinedGroupedBuilder<S, O, F, C, K, V, R, Acc, W, Sc>
where GroupNode<O, F, C, K, Acc, V, R>: Sync, W: Sync, PhantomData<fn() -> (S, Sc)>: Sync,

§

impl<S, O, F, C, K, V, R, Acc, W, Sc> Unpin for JoinedGroupedBuilder<S, O, F, C, K, V, R, Acc, W, Sc>
where GroupNode<O, F, C, K, Acc, V, R>: Unpin, W: Unpin, PhantomData<fn() -> (S, Sc)>: Unpin,

§

impl<S, O, F, C, K, V, R, Acc, W, Sc> UnsafeUnpin for JoinedGroupedBuilder<S, O, F, C, K, V, R, Acc, W, Sc>
where GroupNode<O, F, C, K, Acc, V, R>: UnsafeUnpin, W: UnsafeUnpin, PhantomData<fn() -> (S, Sc)>: UnsafeUnpin,

§

impl<S, O, F, C, K, V, R, Acc, W, Sc> UnwindSafe for JoinedGroupedBuilder<S, O, F, C, K, V, R, Acc, W, Sc>
where GroupNode<O, F, C, K, Acc, V, R>: UnwindSafe, W: UnwindSafe, PhantomData<fn() -> (S, Sc)>: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.