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_partition_by(self, partition_by: Vec<String>) -> Self
pub fn with_partition_by(self, partition_by: Vec<String>) -> Self
Sets the partition_by columns for output partitioning
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DataFrameWriteOptions
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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