Struct differential_dataflow::trace::implementations::ord::OrdKeyBatch
source · pub struct OrdKeyBatch<L: Layout>where
<L::Target as Update>::Key: Sized,{
pub layer: OrderedLayer<<<L as Layout>::Target as Update>::Key, OrderedLeaf<<<L as Layout>::Target as Update>::Time, <<L as Layout>::Target as Update>::Diff>, <L as Layout>::KeyOffset, <L as Layout>::KeyContainer>,
pub desc: Description<<L::Target as Update>::Time>,
}
Expand description
An immutable collection of update tuples, from a contiguous interval of logical times.
Fields§
§layer: OrderedLayer<<<L as Layout>::Target as Update>::Key, OrderedLeaf<<<L as Layout>::Target as Update>::Time, <<L as Layout>::Target as Update>::Diff>, <L as Layout>::KeyOffset, <L as Layout>::KeyContainer>
Where all the dataz is.
desc: Description<<L::Target as Update>::Time>
Description of the update times this layer represents.
Trait Implementations§
source§impl<L> Abomonation for OrdKeyBatch<L>where
<L::Target as Update>::Key: Sized,
OrderedLayer<<<L as Layout>::Target as Update>::Key, OrderedLeaf<<<L as Layout>::Target as Update>::Time, <<L as Layout>::Target as Update>::Diff>, <L as Layout>::KeyOffset, <L as Layout>::KeyContainer>: Abomonation,
L: Abomonation + Layout,
Description<<L::Target as Update>::Time>: Abomonation,
impl<L> Abomonation for OrdKeyBatch<L>where <L::Target as Update>::Key: Sized, OrderedLayer<<<L as Layout>::Target as Update>::Key, OrderedLeaf<<<L as Layout>::Target as Update>::Time, <<L as Layout>::Target as Update>::Diff>, <L as Layout>::KeyOffset, <L as Layout>::KeyContainer>: Abomonation, L: Abomonation + Layout, Description<<L::Target as Update>::Time>: Abomonation,
source§impl<L: Layout> Batch for OrdKeyBatch<L>where
<L::Target as Update>::Key: Sized + Clone,
L::Target: Update<Val = ()>,
impl<L: Layout> Batch for OrdKeyBatch<L>where <L::Target as Update>::Key: Sized + Clone, L::Target: Update<Val = ()>,
§type Merger = OrdKeyMerger<L>
type Merger = OrdKeyMerger<L>
A type used to progressively merge batches.
source§fn begin_merge(
&self,
other: &Self,
compaction_frontier: AntichainRef<'_, <L::Target as Update>::Time>
) -> Self::Merger
fn begin_merge( &self, other: &Self, compaction_frontier: AntichainRef<'_, <L::Target as Update>::Time> ) -> Self::Merger
Initiates the merging of consecutive batches. Read more
source§impl<L: Layout> BatchReader for OrdKeyBatch<L>where
<L::Target as Update>::Key: Sized + Clone,
impl<L: Layout> BatchReader for OrdKeyBatch<L>where <L::Target as Update>::Key: Sized + Clone,
§type Cursor = OrdKeyCursor<L>
type Cursor = OrdKeyCursor<L>
The type used to enumerate the batch’s contents.
source§fn description(&self) -> &Description<<L::Target as Update>::Time>
fn description(&self) -> &Description<<L::Target as Update>::Time>
Describes the times of the updates in the batch.
source§impl<L: Layout> Merger<OrdKeyBatch<L>> for OrdKeyMerger<L>where
<L::Target as Update>::Key: Sized + Clone,
OrdKeyBatch<L>: Batch<Time = <L::Target as Update>::Time>,
impl<L: Layout> Merger<OrdKeyBatch<L>> for OrdKeyMerger<L>where <L::Target as Update>::Key: Sized + Clone, OrdKeyBatch<L>: Batch<Time = <L::Target as Update>::Time>,
source§fn new(
batch1: &OrdKeyBatch<L>,
batch2: &OrdKeyBatch<L>,
compaction_frontier: AntichainRef<'_, <L::Target as Update>::Time>
) -> Self
fn new( batch1: &OrdKeyBatch<L>, batch2: &OrdKeyBatch<L>, compaction_frontier: AntichainRef<'_, <L::Target as Update>::Time> ) -> Self
Creates a new merger to merge the supplied batches, optionally compacting
up to the supplied frontier.
source§fn done(self) -> OrdKeyBatch<L>
fn done(self) -> OrdKeyBatch<L>
Extracts merged results. Read more
source§fn work(
&mut self,
source1: &OrdKeyBatch<L>,
source2: &OrdKeyBatch<L>,
fuel: &mut isize
)
fn work( &mut self, source1: &OrdKeyBatch<L>, source2: &OrdKeyBatch<L>, fuel: &mut isize )
Perform some amount of work, decrementing
fuel
. Read moreAuto Trait Implementations§
impl<L> RefUnwindSafe for OrdKeyBatch<L>where <<L as Layout>::Target as Update>::Diff: RefUnwindSafe, <L as Layout>::KeyContainer: RefUnwindSafe, <L as Layout>::KeyOffset: RefUnwindSafe, <<L as Layout>::Target as Update>::Time: RefUnwindSafe,
impl<L> Send for OrdKeyBatch<L>where <<L as Layout>::Target as Update>::Diff: Send, <L as Layout>::KeyContainer: Send, <L as Layout>::KeyOffset: Send,
impl<L> Sync for OrdKeyBatch<L>where <<L as Layout>::Target as Update>::Diff: Sync, <L as Layout>::KeyContainer: Sync, <L as Layout>::KeyOffset: Sync,
impl<L> Unpin for OrdKeyBatch<L>where <<L as Layout>::Target as Update>::Diff: Unpin, <L as Layout>::KeyContainer: Unpin, <L as Layout>::KeyOffset: Unpin, <<L as Layout>::Target as Update>::Time: Unpin,
impl<L> UnwindSafe for OrdKeyBatch<L>where <<L as Layout>::Target as Update>::Diff: UnwindSafe, <L as Layout>::KeyContainer: UnwindSafe, <L as Layout>::KeyOffset: UnwindSafe, <<L as Layout>::Target as Update>::Time: 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