pub struct StreamOptions {
pub memory_limit_bytes: u64,
pub max_in_flight_batches: NonZeroUsize,
pub batch_rows: NonZeroUsize,
}Expand description
Options shared by bounded materialization and streaming execution.
Fields§
§memory_limit_bytes: u64Maximum bytes owned by the execution pipeline at one time.
max_in_flight_batches: NonZeroUsizeMaximum number of pipeline-owned batches at one time.
batch_rows: NonZeroUsizeRequested source row cap. It never relaxes memory_limit_bytes.
Implementations§
Source§impl StreamOptions
impl StreamOptions
Sourcepub fn new(
memory_limit_bytes: u64,
max_in_flight_batches: NonZeroUsize,
batch_rows: NonZeroUsize,
) -> Self
pub fn new( memory_limit_bytes: u64, max_in_flight_batches: NonZeroUsize, batch_rows: NonZeroUsize, ) -> Self
Construct validated bounded-execution options.
Trait Implementations§
Source§impl Clone for StreamOptions
impl Clone for StreamOptions
Source§fn clone(&self) -> StreamOptions
fn clone(&self) -> StreamOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StreamOptions
Source§impl Debug for StreamOptions
impl Debug for StreamOptions
Source§impl Default for StreamOptions
impl Default for StreamOptions
impl Eq for StreamOptions
Source§impl PartialEq for StreamOptions
impl PartialEq for StreamOptions
impl StructuralPartialEq for StreamOptions
Auto Trait Implementations§
impl Freeze for StreamOptions
impl RefUnwindSafe for StreamOptions
impl Send for StreamOptions
impl Sync for StreamOptions
impl Unpin for StreamOptions
impl UnsafeUnpin for StreamOptions
impl UnwindSafe for StreamOptions
Blanket Implementations§
impl<T> Allocation for T
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.