Skip to main content

ProxyReduceTactic

Struct ProxyReduceTactic 

Source
pub struct ProxyReduceTactic<T, Bk, K = u64> { /* private fields */ }
Expand description

A proxy-space ReduceTactic: matches input and output records by key.

Implementations§

Source§

impl<T, Bk, K> ProxyReduceTactic<T, Bk, K>

Source

pub fn new(backend: Bk) -> Self

A tactic deferring all value semantics to backend.

Source

pub fn with_key_batch_size(self, key_batch_size: usize) -> Self

Limit simultaneous sweeps independently of the backend’s presentation window.

Complete proxy keys stay together, including all real keys sharing a proxy. Sweep scratch is reused between groups within a retire. The bound does not limit a single key’s size, the presentation, or the output batch. Corrections remain batched, and emission still happens once per backend window. By default, all keys in the presentation can have live sweeps at once.

Trait Implementations§

Source§

impl<T, B1, B2, Bk, K: Copy + Ord> ReduceTactic<T, B1, B2> for ProxyReduceTactic<T, Bk, K>
where T: Timestamp + Lattice, Bk: ProxyReduceBackend<T, B1, B2, Key = K>,

Source§

fn retire( &mut self, source_batches: Vec<B1>, output_batches: Vec<B2>, input_batches: Vec<B1>, lower: &Antichain<T>, upper: &Antichain<T>, held: &Antichain<T>, ) -> (Option<Span<T, B2>>, Antichain<T>)

Retire the interval [lower, upper), producing the output batch it informs. Read more

Auto Trait Implementations§

§

impl<T, Bk, K> Freeze for ProxyReduceTactic<T, Bk, K>
where Bk: Freeze, Pending<T, K>: Freeze,

§

impl<T, Bk, K> RefUnwindSafe for ProxyReduceTactic<T, Bk, K>
where Bk: RefUnwindSafe, Pending<T, K>: RefUnwindSafe,

§

impl<T, Bk, K> Send for ProxyReduceTactic<T, Bk, K>
where Bk: Send, Pending<T, K>: Send,

§

impl<T, Bk, K> Sync for ProxyReduceTactic<T, Bk, K>
where Bk: Sync, Pending<T, K>: Sync,

§

impl<T, Bk, K> Unpin for ProxyReduceTactic<T, Bk, K>
where Bk: Unpin, Pending<T, K>: Unpin,

§

impl<T, Bk, K> UnsafeUnpin for ProxyReduceTactic<T, Bk, K>
where Bk: UnsafeUnpin, Pending<T, K>: UnsafeUnpin,

§

impl<T, Bk, K> UnwindSafe for ProxyReduceTactic<T, Bk, K>
where Bk: UnwindSafe, Pending<T, K>: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

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
Source§

impl<'a, S, T> Semigroup<&'a S> for T
where T: Semigroup<S>,

Source§

fn plus_equals(&mut self, rhs: &&'a S)

The method of std::ops::AddAssign, for types that do not implement AddAssign.
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.