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

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

An immutable collection of update tuples, from a contiguous interval of logical times.

Fields

layer: OrderedLayer<K, OrderedLayer<V, OrderedLeaf<T, R>>>

Where all the dataz is.

desc: Description<T>

Description of the update times this layer represents.

Trait Implementations

impl<K, V, T, R> BatchReader<K, V, T, R> for OrdValBatch<K, V, T, R> where
    K: Ord + Clone + 'static,
    V: Ord + Clone + 'static,
    T: Lattice + Ord + Clone + 'static,
    R: Monoid
[src]

type Cursor = OrdValCursor<V, 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, V, T, R> Batch<K, V, T, R> for OrdValBatch<K, V, T, R> where
    K: Ord + Clone + 'static,
    V: Ord + Clone + 'static,
    T: Lattice + Ord + Clone + Debug + 'static,
    R: Monoid
[src]

type Batcher = MergeBatcher<K, V, T, R, Self>

A type used to assemble batches from disordered updates.

type Builder = OrdValBuilder<K, V, T, R>

A type used to assemble batches from ordered update sequences.

type Merger = OrdValMerger<K, V, T, R>

A type used to progressively merge batches.

impl<K, V, T, R> Builder<K, V, T, R, OrdValBatch<K, V, T, R>> for OrdValBuilder<K, V, T, R> where
    K: Ord + Clone + 'static,
    V: Ord + Clone + 'static,
    T: Lattice + Ord + Clone + Debug + '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, V, T, R> Merger<K, V, T, R, OrdValBatch<K, V, T, R>> for OrdValMerger<K, V, T, R> where
    K: Ord + Clone + 'static,
    V: Ord + Clone + 'static,
    T: Lattice + Ord + Clone + Debug + 'static,
    R: Monoid
[src]

impl<K: Debug + Ord, V: Debug + Ord, T: Debug + Lattice, R: Debug> Debug for OrdValBatch<K, V, T, R>[src]

impl<K: Ord, V: Ord, T: Lattice, R> Abomonation for OrdValBatch<K, V, T, R> where
    OrderedLayer<K, OrderedLayer<V, OrderedLeaf<T, R>>>: Abomonation,
    K: Abomonation,
    V: Abomonation,
    T: Abomonation,
    R: Abomonation,
    Description<T>: Abomonation
[src]

Auto Trait Implementations

impl<K, V, T, R> Send for OrdValBatch<K, V, T, R> where
    K: Send,
    R: Send,
    T: Send,
    V: Send

impl<K, V, T, R> Unpin for OrdValBatch<K, V, T, R> where
    K: Unpin,
    R: Unpin,
    T: Unpin,
    V: Unpin

impl<K, V, T, R> Sync for OrdValBatch<K, V, T, R> where
    K: Sync,
    R: Sync,
    T: Sync,
    V: Sync

impl<K, V, T, R> UnwindSafe for OrdValBatch<K, V, T, R> where
    K: UnwindSafe,
    R: UnwindSafe,
    T: UnwindSafe,
    V: UnwindSafe

impl<K, V, T, R> RefUnwindSafe for OrdValBatch<K, V, T, R> where
    K: RefUnwindSafe,
    R: RefUnwindSafe,
    T: RefUnwindSafe,
    V: 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