pub struct MergeIntoWriter { /* private fields */ }Expand description
Fluent builder for a MERGE INTO command. Create it via crate::dataframe::DataFrame::merge_into.
Implementations§
Source§impl MergeIntoWriter
impl MergeIntoWriter
Sourcepub fn when_matched(self, condition: Option<Column>) -> WhenMatched
pub fn when_matched(self, condition: Option<Column>) -> WhenMatched
Begin a WHEN MATCHED [AND condition] clause.
Sourcepub fn when_not_matched(self, condition: Option<Column>) -> WhenNotMatched
pub fn when_not_matched(self, condition: Option<Column>) -> WhenNotMatched
Begin a WHEN NOT MATCHED [AND condition] clause.
Sourcepub fn when_not_matched_by_source(
self,
condition: Option<Column>,
) -> WhenNotMatchedBySource
pub fn when_not_matched_by_source( self, condition: Option<Column>, ) -> WhenNotMatchedBySource
Begin a WHEN NOT MATCHED BY SOURCE [AND condition] clause.
Sourcepub fn with_schema_evolution(self) -> MergeIntoWriter
pub fn with_schema_evolution(self) -> MergeIntoWriter
Enable schema evolution for this merge.
Sourcepub fn merge(self) -> Result<(), SparkError>
pub fn merge(self) -> Result<(), SparkError>
Execute the merge.
Trait Implementations§
Source§impl MergeIntoWriterExt for MergeIntoWriter
impl MergeIntoWriterExt for MergeIntoWriter
Source§fn merge_async(self) -> impl Future<Output = Result<()>> + Send + 'static
fn merge_async(self) -> impl Future<Output = Result<()>> + Send + 'static
Async
MergeIntoWriter::merge.Auto Trait Implementations§
impl !Freeze for MergeIntoWriter
impl !RefUnwindSafe for MergeIntoWriter
impl !UnwindSafe for MergeIntoWriter
impl Send for MergeIntoWriter
impl Sync for MergeIntoWriter
impl Unpin for MergeIntoWriter
impl UnsafeUnpin for MergeIntoWriter
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