[−][src]Struct differential_dataflow::trace::implementations::ord::OrdKeyBatch
An immutable collection of update tuples, from a contiguous interval of logical times.
Fields
layer: OrderedLayer<K, OrderedLeaf<T, R>>
Where all the dataz is.
desc: Description<T>
Description of the update times this layer represents.
Trait Implementations
impl<K, T, R> BatchReader<K, (), T, R> for OrdKeyBatch<K, T, R> where
K: Ord + Clone + 'static,
T: Lattice + Ord + Clone + 'static,
R: Monoid,
[src]
K: Ord + Clone + 'static,
T: Lattice + Ord + Clone + 'static,
R: Monoid,
type Cursor = OrdKeyCursor<T, R>
The type used to enumerate the batch's contents.
fn cursor(&self) -> Self::Cursor
[src]
fn len(&self) -> usize
[src]
fn description(&self) -> &Description<T>
[src]
fn is_empty(&self) -> bool
[src]
True if the batch is empty.
fn lower(&self) -> &[T]
[src]
All times in the batch are greater or equal to an element of lower
.
fn upper(&self) -> &[T]
[src]
All times in the batch are not greater or equal to any element of upper
.
impl<K, T, R> Batch<K, (), T, R> for OrdKeyBatch<K, T, R> where
K: Ord + Clone + 'static,
T: Lattice + Ord + Clone + 'static,
R: Monoid,
[src]
K: Ord + Clone + 'static,
T: Lattice + Ord + Clone + 'static,
R: Monoid,
type Batcher = MergeBatcher<K, (), T, R, Self>
A type used to assemble batches from disordered updates.
type Builder = OrdKeyBuilder<K, T, R>
A type used to assemble batches from ordered update sequences.
type Merger = OrdKeyMerger<K, T, R>
A type used to progressively merge batches.
fn begin_merge(&self, other: &Self) -> Self::Merger
[src]
impl<K, T, R> Builder<K, (), T, R, OrdKeyBatch<K, T, R>> for OrdKeyBuilder<K, T, R> where
K: Ord + Clone + 'static,
T: Lattice + Ord + Clone + 'static,
R: Monoid,
[src]
K: Ord + Clone + 'static,
T: Lattice + Ord + Clone + 'static,
R: Monoid,
fn new() -> Self
[src]
fn with_capacity(cap: usize) -> Self
[src]
fn push(&mut self, (key, _, time, diff): (K, (), T, R))
[src]
fn done(self, lower: &[T], upper: &[T], since: &[T]) -> OrdKeyBatch<K, T, R>
[src]
fn extend<I: Iterator<Item = (K, V, T, R)>>(&mut self, iter: I)
[src]
Adds an ordered sequence of elements to the batch.
impl<K, T, R> Merger<K, (), T, R, OrdKeyBatch<K, T, R>> for OrdKeyMerger<K, T, R> where
K: Ord + Clone + 'static,
T: Lattice + Ord + Clone + 'static,
R: Monoid,
[src]
K: Ord + Clone + 'static,
T: Lattice + Ord + Clone + 'static,
R: Monoid,
fn new(batch1: &OrdKeyBatch<K, T, R>, batch2: &OrdKeyBatch<K, T, R>) -> Self
[src]
fn done(self) -> OrdKeyBatch<K, T, R>
[src]
fn work(
&mut self,
source1: &OrdKeyBatch<K, T, R>,
source2: &OrdKeyBatch<K, T, R>,
frontier: &Option<Vec<T>>,
fuel: &mut usize
)
[src]
&mut self,
source1: &OrdKeyBatch<K, T, R>,
source2: &OrdKeyBatch<K, T, R>,
frontier: &Option<Vec<T>>,
fuel: &mut usize
)
impl<K: Debug + Ord, T: Debug + Lattice, R: Debug> Debug for OrdKeyBatch<K, T, R>
[src]
impl<K: Ord, T: Lattice, R> Abomonation for OrdKeyBatch<K, T, R> where
OrderedLayer<K, OrderedLeaf<T, R>>: Abomonation,
K: Abomonation,
T: Abomonation,
R: Abomonation,
Description<T>: Abomonation,
[src]
OrderedLayer<K, OrderedLeaf<T, R>>: Abomonation,
K: Abomonation,
T: Abomonation,
R: Abomonation,
Description<T>: Abomonation,
Auto Trait Implementations
impl<K, T, R> Send for OrdKeyBatch<K, T, R> where
K: Send,
R: Send,
T: Send,
K: Send,
R: Send,
T: Send,
impl<K, T, R> Unpin for OrdKeyBatch<K, T, R> where
K: Unpin,
R: Unpin,
T: Unpin,
K: Unpin,
R: Unpin,
T: Unpin,
impl<K, T, R> Sync for OrdKeyBatch<K, T, R> where
K: Sync,
R: Sync,
T: Sync,
K: Sync,
R: Sync,
T: Sync,
impl<K, T, R> UnwindSafe for OrdKeyBatch<K, T, R> where
K: UnwindSafe,
R: UnwindSafe,
T: UnwindSafe,
K: UnwindSafe,
R: UnwindSafe,
T: UnwindSafe,
impl<K, T, R> RefUnwindSafe for OrdKeyBatch<K, T, R> where
K: RefUnwindSafe,
R: RefUnwindSafe,
T: RefUnwindSafe,
K: RefUnwindSafe,
R: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Data for T where
T: 'static + Send + Sync + Any + Abomonation,
T: 'static + Send + Sync + Any + Abomonation,