pub enum ChunkSizeHint {
Default,
Small,
Large,
Exact(usize),
AtMost(usize),
}Expand description
Hint for preferred chunk size.
Operators can provide hints to optimize chunk sizing for their workload.
Variants§
Default
Use default chunk size (2048 tuples).
Small
Use small chunks (256-512 tuples) for LIMIT or high selectivity.
Large
Use large chunks (4096 tuples) for full scans.
Exact(usize)
Use exact chunk size.
AtMost(usize)
Use at most this many tuples (for LIMIT).
Trait Implementations§
Source§impl Clone for ChunkSizeHint
impl Clone for ChunkSizeHint
Source§fn clone(&self) -> ChunkSizeHint
fn clone(&self) -> ChunkSizeHint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChunkSizeHint
impl Debug for ChunkSizeHint
Source§impl Default for ChunkSizeHint
impl Default for ChunkSizeHint
Source§impl PartialEq for ChunkSizeHint
impl PartialEq for ChunkSizeHint
impl Copy for ChunkSizeHint
impl Eq for ChunkSizeHint
impl StructuralPartialEq for ChunkSizeHint
Auto Trait Implementations§
impl Freeze for ChunkSizeHint
impl RefUnwindSafe for ChunkSizeHint
impl Send for ChunkSizeHint
impl Sync for ChunkSizeHint
impl Unpin for ChunkSizeHint
impl UnwindSafe for ChunkSizeHint
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> 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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.