Struct datafusion::dataframe::DataFrameWriteOptions
source · pub struct DataFrameWriteOptions { /* private fields */ }Expand description
Contains options that control how data is written out from a DataFrame
Implementations§
source§impl DataFrameWriteOptions
impl DataFrameWriteOptions
sourcepub fn with_overwrite(self, overwrite: bool) -> Self
pub fn with_overwrite(self, overwrite: bool) -> Self
Set the overwrite option to true or false
sourcepub fn with_single_file_output(self, single_file_output: bool) -> Self
pub fn with_single_file_output(self, single_file_output: bool) -> Self
Set the single_file_output value to true or false
sourcepub fn with_compression(self, compression: CompressionTypeVariant) -> Self
pub fn with_compression(self, compression: CompressionTypeVariant) -> Self
Sets the compression type applied to the output file(s)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for DataFrameWriteOptions
impl Send for DataFrameWriteOptions
impl Sync for DataFrameWriteOptions
impl Unpin for DataFrameWriteOptions
impl UnwindSafe for DataFrameWriteOptions
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