Struct differential_dataflow::trace::wrappers::frontier::TraceFrontier
source · pub struct TraceFrontier<Tr: TraceReader> { /* private fields */ }
Expand description
Wrapper to provide trace to nested scope.
Implementations§
source§impl<Tr: TraceReader> TraceFrontier<Tr>
impl<Tr: TraceReader> TraceFrontier<Tr>
sourcepub fn make_from(
trace: Tr,
since: AntichainRef<'_, Tr::Time>,
until: AntichainRef<'_, Tr::Time>
) -> Self
pub fn make_from( trace: Tr, since: AntichainRef<'_, Tr::Time>, until: AntichainRef<'_, Tr::Time> ) -> Self
Makes a new trace wrapper
Trait Implementations§
source§impl<Tr: TraceReader + Clone> Clone for TraceFrontier<Tr>
impl<Tr: TraceReader + Clone> Clone for TraceFrontier<Tr>
source§impl<Tr: TraceReader> TraceReader for TraceFrontier<Tr>
impl<Tr: TraceReader> TraceReader for TraceFrontier<Tr>
§type Key<'a> = <Tr as TraceReader>::Key<'a>
type Key<'a> = <Tr as TraceReader>::Key<'a>
Key by which updates are indexed.
§type KeyOwned = <Tr as TraceReader>::KeyOwned
type KeyOwned = <Tr as TraceReader>::KeyOwned
Owned version of the above.
§type Val<'a> = <Tr as TraceReader>::Val<'a>
type Val<'a> = <Tr as TraceReader>::Val<'a>
Values associated with keys.
§type ValOwned = <Tr as TraceReader>::ValOwned
type ValOwned = <Tr as TraceReader>::ValOwned
Owned version of the above.
§type Time = <Tr as TraceReader>::Time
type Time = <Tr as TraceReader>::Time
Timestamps associated with updates
§type Diff = <Tr as TraceReader>::Diff
type Diff = <Tr as TraceReader>::Diff
Associated update.
§type Batch = BatchFrontier<<Tr as TraceReader>::Batch>
type Batch = BatchFrontier<<Tr as TraceReader>::Batch>
The type of an immutable collection of updates.
§type Storage = <Tr as TraceReader>::Storage
type Storage = <Tr as TraceReader>::Storage
Storage type for
Self::Cursor
. Likely related to Self::Batch
.§type Cursor = CursorFrontier<<Tr as TraceReader>::Cursor, <Tr as TraceReader>::Time>
type Cursor = CursorFrontier<<Tr as TraceReader>::Cursor, <Tr as TraceReader>::Time>
The type used to enumerate the collections contents.
source§fn map_batches<F: FnMut(&Self::Batch)>(&self, f: F)
fn map_batches<F: FnMut(&Self::Batch)>(&self, f: F)
Maps logic across the non-empty sequence of batches in the trace. Read more
source§fn set_logical_compaction(&mut self, frontier: AntichainRef<'_, Tr::Time>)
fn set_logical_compaction(&mut self, frontier: AntichainRef<'_, Tr::Time>)
Advances the frontier that constrains logical compaction. Read more
source§fn get_logical_compaction(&mut self) -> AntichainRef<'_, Tr::Time>
fn get_logical_compaction(&mut self) -> AntichainRef<'_, Tr::Time>
Reports the logical compaction frontier. Read more
source§fn set_physical_compaction(&mut self, frontier: AntichainRef<'_, Tr::Time>)
fn set_physical_compaction(&mut self, frontier: AntichainRef<'_, Tr::Time>)
Advances the frontier that constrains physical compaction. Read more
source§fn get_physical_compaction(&mut self) -> AntichainRef<'_, Tr::Time>
fn get_physical_compaction(&mut self) -> AntichainRef<'_, Tr::Time>
Reports the physical compaction frontier. Read more
source§fn cursor_through(
&mut self,
upper: AntichainRef<'_, Tr::Time>
) -> Option<(Self::Cursor, Self::Storage)>
fn cursor_through( &mut self, upper: AntichainRef<'_, Tr::Time> ) -> Option<(Self::Cursor, Self::Storage)>
Acquires a cursor to the restriction of the collection’s contents to updates at times not greater or
equal to an element of
upper
. Read moresource§fn cursor(&mut self) -> (Self::Cursor, Self::Storage)
fn cursor(&mut self) -> (Self::Cursor, Self::Storage)
Provides a cursor over updates contained in the trace.
source§fn advance_by(&mut self, frontier: AntichainRef<'_, Self::Time>)
fn advance_by(&mut self, frontier: AntichainRef<'_, Self::Time>)
👎Deprecated since 0.11: please use
set_logical_compaction
Deprecated form of
set_logical_compaction
.source§fn advance_frontier(&mut self) -> AntichainRef<'_, Self::Time>
fn advance_frontier(&mut self) -> AntichainRef<'_, Self::Time>
👎Deprecated since 0.11: please use
get_logical_compaction
Deprecated form of
get_logical_compaction
.source§fn distinguish_since(&mut self, frontier: AntichainRef<'_, Self::Time>)
fn distinguish_since(&mut self, frontier: AntichainRef<'_, Self::Time>)
👎Deprecated since 0.11: please use
set_physical_compaction
Deprecated form of
set_physical_compaction
.source§fn distinguish_frontier(&mut self) -> AntichainRef<'_, Self::Time>
fn distinguish_frontier(&mut self) -> AntichainRef<'_, Self::Time>
👎Deprecated since 0.11: please use
get_physical_compaction
Deprecated form of
get_physical_compaction
.source§fn read_upper(&mut self, target: &mut Antichain<Self::Time>)
fn read_upper(&mut self, target: &mut Antichain<Self::Time>)
Reads the upper frontier of committed times.
Auto Trait Implementations§
impl<Tr> Freeze for TraceFrontier<Tr>where
Tr: Freeze,
impl<Tr> RefUnwindSafe for TraceFrontier<Tr>
impl<Tr> Send for TraceFrontier<Tr>where
Tr: Send,
impl<Tr> Sync for TraceFrontier<Tr>where
Tr: Sync,
impl<Tr> Unpin for TraceFrontier<Tr>
impl<Tr> UnwindSafe for TraceFrontier<Tr>
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
source§impl<R, O, T> CopyOnto<ConsecutiveOffsetPairs<R, O>> for T
impl<R, O, T> CopyOnto<ConsecutiveOffsetPairs<R, O>> for T
source§fn copy_onto(
self,
target: &mut ConsecutiveOffsetPairs<R, O>
) -> <ConsecutiveOffsetPairs<R, O> as Region>::Index
fn copy_onto( self, target: &mut ConsecutiveOffsetPairs<R, O> ) -> <ConsecutiveOffsetPairs<R, O> as Region>::Index
Copy self into the target container, returning an index that allows to
look up the corresponding read item.