Trait differential_dataflow::trace::BatchReader
source · pub trait BatchReader<K, V, T, R>where
Self: Sized,{
type Cursor: Cursor<K, V, T, R, Storage = Self>;
fn cursor(&self) -> Self::Cursor;
fn len(&self) -> usize;
fn description(&self) -> &Description<T>;
fn lower(&self) -> &[T] ⓘ { ... }
fn upper(&self) -> &[T] ⓘ { ... }
}Expand description
A batch of updates whose contents may be read.
This is a restricted interface to batches of updates, which support the reading of the batch’s contents, but do not expose ways to construct the batches. This trait is appropriate for views of the batch, and is especially useful for views derived from other sources in ways that prevent the construction of batches from the type of data in the view (for example, filtered views, or views with extended time coordinates).
Required Associated Types
Required Methods
sourcefn description(&self) -> &Description<T>
fn description(&self) -> &Description<T>
Describes the times of the updates in the batch.
Provided Methods
Implementations on Foreign Types
sourceimpl<K, V, T, R, B: BatchReader<K, V, T, R>> BatchReader<K, V, T, R> for Rc<B>
impl<K, V, T, R, B: BatchReader<K, V, T, R>> BatchReader<K, V, T, R> for Rc<B>
type Cursor = RcBatchCursor<K, V, T, R, B>
type Cursor = RcBatchCursor<K, V, T, R, B>
The type used to enumerate the batch’s contents.
sourcefn description(&self) -> &Description<T>
fn description(&self) -> &Description<T>
Describes the times of the updates in the batch.
sourceimpl<K, V, T, R, B: BatchReader<K, V, T, R> + Abomonation> BatchReader<K, V, T, R> for Abomonated<B, Vec<u8>>
impl<K, V, T, R, B: BatchReader<K, V, T, R> + Abomonation> BatchReader<K, V, T, R> for Abomonated<B, Vec<u8>>
type Cursor = AbomonatedBatchCursor<K, V, T, R, B>
type Cursor = AbomonatedBatchCursor<K, V, T, R, B>
The type used to enumerate the batch’s contents.
sourcefn description(&self) -> &Description<T>
fn description(&self) -> &Description<T>
Describes the times of the updates in the batch.