[][src]Struct differential_dataflow::trace::implementations::ord::OrdKeyBatch

pub struct OrdKeyBatch<K: Ord, T: Lattice, R> {
    pub layer: OrderedLayer<K, OrderedLeaf<T, R>>,
    pub desc: Description<T>,
}

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]

type Cursor = OrdKeyCursor<T, R>

The type used to enumerate the batch's contents.

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]

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.

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]

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]

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]

Auto Trait Implementations

impl<K, T, R> Send for OrdKeyBatch<K, T, R> where
    K: Send,
    R: Send,
    T: Send

impl<K, T, R> Unpin for OrdKeyBatch<K, T, R> where
    K: Unpin,
    R: Unpin,
    T: Unpin

impl<K, T, R> Sync for OrdKeyBatch<K, T, R> where
    K: Sync,
    R: Sync,
    T: Sync

impl<K, T, R> UnwindSafe for OrdKeyBatch<K, T, R> where
    K: UnwindSafe,
    R: UnwindSafe,
    T: UnwindSafe

impl<K, T, R> RefUnwindSafe for OrdKeyBatch<K, T, R> where
    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]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Data for T where
    T: 'static + Send + Sync + Any + Abomonation