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_insert_operation(self, insert_op: InsertOp) -> Self
pub fn with_insert_operation(self, insert_op: InsertOp) -> Self
Set the insert operation
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
Sourcepub fn with_sort_by(self, sort_by: Vec<SortExpr>) -> Self
pub fn with_sort_by(self, sort_by: Vec<SortExpr>) -> Self
Sets the sort_by columns for output sorting
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