pub struct RollingIncrementalEngine<G, C, Accumulator, Running> { /* private fields */ }Implementations§
Source§impl<G, C, Accumulator, Running> RollingIncrementalEngine<G, C, Accumulator, Running>where
G: Clone + Eq + Ord + Hash + Debug,
C: Slot + Hash + HeapSize,
Accumulator: WindowAccumulator,
Running: WindowAccumulator,
for<'a> &'a G: IntoEncodedKey,
GroupMeta<C>: OperatorState,
RollingBuffer<C, Accumulator>: OperatorState + HeapSize,
impl<G, C, Accumulator, Running> RollingIncrementalEngine<G, C, Accumulator, Running>where
G: Clone + Eq + Ord + Hash + Debug,
C: Slot + Hash + HeapSize,
Accumulator: WindowAccumulator,
Running: WindowAccumulator,
for<'a> &'a G: IntoEncodedKey,
GroupMeta<C>: OperatorState,
RollingBuffer<C, Accumulator>: OperatorState + HeapSize,
pub fn new(_config: WindowEngineConfig) -> Self
pub fn expire_meta( &mut self, store: &mut dyn StateStore, threshold: u64, ) -> Result<usize>
pub fn apply<K, WC, CR, Output>( &mut self, store: &mut dyn StateStore, buckets: RollingBuckets<G, C, Accumulator::Contribution>, capacity: usize, row_key: K, window_contribution: WC, combine_running: CR, ) -> Result<Vec<RollingResult<G, Output>>>
Auto Trait Implementations§
impl<G, C, Accumulator, Running> Freeze for RollingIncrementalEngine<G, C, Accumulator, Running>
impl<G, C, Accumulator, Running> RefUnwindSafe for RollingIncrementalEngine<G, C, Accumulator, Running>where
G: RefUnwindSafe,
impl<G, C, Accumulator, Running> Send for RollingIncrementalEngine<G, C, Accumulator, Running>where
G: Send,
impl<G, C, Accumulator, Running> Sync for RollingIncrementalEngine<G, C, Accumulator, Running>where
G: Sync,
impl<G, C, Accumulator, Running> Unpin for RollingIncrementalEngine<G, C, Accumulator, Running>where
G: Unpin,
impl<G, C, Accumulator, Running> UnsafeUnpin for RollingIncrementalEngine<G, C, Accumulator, Running>
impl<G, C, Accumulator, Running> UnwindSafe for RollingIncrementalEngine<G, C, Accumulator, Running>where
G: 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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more