pub struct InsertOptions {
pub max_threads: Option<u32>,
pub max_insert_block_size: Option<u64>,
pub min_insert_block_size_rows: Option<u64>,
}Expand description
Tuning knobs appended as SETTINGS on the insert INSERT … SELECT query,
or passed to direct FFI insert APIs.
Fields§
§max_threads: Option<u32>max_threads insert setting (default: 4).
max_insert_block_size: Option<u64>max_insert_block_size insert setting.
min_insert_block_size_rows: Option<u64>min_insert_block_size_rows insert setting.
Implementations§
Source§impl InsertOptions
impl InsertOptions
Sourcepub fn default_bulk() -> Self
pub fn default_bulk() -> Self
Sensible defaults for bulk Arrow ingest.
Trait Implementations§
Source§impl Clone for InsertOptions
impl Clone for InsertOptions
Source§impl Debug for InsertOptions
impl Debug for InsertOptions
Source§impl Default for InsertOptions
impl Default for InsertOptions
impl Eq for InsertOptions
Source§impl PartialEq for InsertOptions
impl PartialEq for InsertOptions
impl StructuralPartialEq for InsertOptions
Auto Trait Implementations§
impl Forget for InsertOptions
impl Freeze for InsertOptions
impl Move for InsertOptions
impl RefUnwindSafe for InsertOptions
impl Send for InsertOptions
impl Sync for InsertOptions
impl Unpin for InsertOptions
impl UnsafeUnpin for InsertOptions
impl UnwindSafe for InsertOptions
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.