pub struct OrdValBuilder<L: Layout, CI> {
pub result: OrdValStorage<L>,
/* private fields */
}Expand description
A builder for creating layers from unsorted update tuples.
Fields§
§result: OrdValStorage<L>The in-progress result.
This is public to allow container implementors to set and inspect their container.
Trait Implementations§
Source§impl<L, CI> Builder for OrdValBuilder<L, CI>where
L: for<'a> Layout<KeyContainer: PushInto<CI::Key<'a>>, ValContainer: PushInto<CI::Val<'a>>>,
CI: for<'a> BuilderInput<L::KeyContainer, L::ValContainer, Time = Time<L>, Diff = Diff<L>>,
impl<L, CI> Builder for OrdValBuilder<L, CI>where
L: for<'a> Layout<KeyContainer: PushInto<CI::Key<'a>>, ValContainer: PushInto<CI::Val<'a>>>,
CI: for<'a> BuilderInput<L::KeyContainer, L::ValContainer, Time = Time<L>, Diff = Diff<L>>,
Source§type Time = <<L as Layout>::TimeContainer as BatchContainer>::Owned
type Time = <<L as Layout>::TimeContainer as BatchContainer>::Owned
Timestamp type.
Source§type Output = OrdValBatch<L>
type Output = OrdValBatch<L>
Output batch type.
Source§fn with_capacity(keys: usize, vals: usize, upds: usize) -> Self
fn with_capacity(keys: usize, vals: usize, upds: usize) -> Self
Allocates an empty builder with capacity for the specified keys, values, and updates. Read more
Source§fn done(self, description: Description<Self::Time>) -> OrdValBatch<L>
fn done(self, description: Description<Self::Time>) -> OrdValBatch<L>
Completes building and returns the batch.
Auto Trait Implementations§
impl<L, CI> Freeze for OrdValBuilder<L, CI>where
OrdValStorage<L>: Freeze,
UpdsBuilder<<L as Layout>::TimeContainer, <L as Layout>::DiffContainer>: Freeze,
PhantomData<CI>: Freeze,
impl<L, CI> RefUnwindSafe for OrdValBuilder<L, CI>where
OrdValStorage<L>: RefUnwindSafe,
UpdsBuilder<<L as Layout>::TimeContainer, <L as Layout>::DiffContainer>: RefUnwindSafe,
PhantomData<CI>: RefUnwindSafe,
impl<L, CI> Send for OrdValBuilder<L, CI>where
OrdValStorage<L>: Send,
UpdsBuilder<<L as Layout>::TimeContainer, <L as Layout>::DiffContainer>: Send,
PhantomData<CI>: Send,
impl<L, CI> Sync for OrdValBuilder<L, CI>where
OrdValStorage<L>: Sync,
UpdsBuilder<<L as Layout>::TimeContainer, <L as Layout>::DiffContainer>: Sync,
PhantomData<CI>: Sync,
impl<L, CI> Unpin for OrdValBuilder<L, CI>where
OrdValStorage<L>: Unpin,
UpdsBuilder<<L as Layout>::TimeContainer, <L as Layout>::DiffContainer>: Unpin,
PhantomData<CI>: Unpin,
impl<L, CI> UnsafeUnpin for OrdValBuilder<L, CI>where
OrdValStorage<L>: UnsafeUnpin,
UpdsBuilder<<L as Layout>::TimeContainer, <L as Layout>::DiffContainer>: UnsafeUnpin,
PhantomData<CI>: UnsafeUnpin,
impl<L, CI> UnwindSafe for OrdValBuilder<L, CI>where
OrdValStorage<L>: UnwindSafe,
UpdsBuilder<<L as Layout>::TimeContainer, <L as Layout>::DiffContainer>: UnwindSafe,
PhantomData<CI>: UnwindSafe,
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 moreSource§impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
Source§fn plus_equals(&mut self, rhs: &&'a S)
fn plus_equals(&mut self, rhs: &&'a S)
The method of
std::ops::AddAssign, for types that do not implement AddAssign.