pub struct DataFrameWriterV2 { /* private fields */ }
Implementations§
Source§impl DataFrameWriterV2
impl DataFrameWriterV2
pub fn new(dataframe: DataFrame, table: &str) -> Self
pub fn using(self, provider: &str) -> Self
pub fn option(self, key: &str, value: &str) -> Self
pub fn options(self, provider: HashMap<String, String>) -> Self
pub fn table_property(self, property: &str, value: &str) -> Self
pub fn partition_by<T: ToVecExpr>(self, columns: T) -> Self
pub async fn create(self) -> Result<(), SparkError>
pub async fn replace(self) -> Result<(), SparkError>
pub async fn create_or_replace(self) -> Result<(), SparkError>
pub async fn append(self) -> Result<(), SparkError>
pub async fn overwrite(self) -> Result<(), SparkError>
pub async fn overwrite_partitions(self) -> Result<(), SparkError>
Auto Trait Implementations§
impl Freeze for DataFrameWriterV2
impl !RefUnwindSafe for DataFrameWriterV2
impl Send for DataFrameWriterV2
impl Sync for DataFrameWriterV2
impl Unpin for DataFrameWriterV2
impl !UnwindSafe for DataFrameWriterV2
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request