case class WhenNotMatchedBySource[T] extends Product with Serializable
A class for defining actions to be performed when there is no match by source during a merge operation in a MergeIntoWriter.
- T
the type parameter for the MergeIntoWriter.
- Source
- MergeIntoWriter.scala
- Alphabetic
- By Inheritance
- WhenNotMatchedBySource
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- val condition: Option[Column]
- def delete(): MergeIntoWriter[T]
Specifies an action to delete non-matched rows from the target DataFrame when not matched by the source.
Specifies an action to delete non-matched rows from the target DataFrame when not matched by the source.
- returns
The MergeIntoWriter instance with the delete action configured.
- val mergeIntoWriter: MergeIntoWriter[T]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def update(map: Map[String, Column]): MergeIntoWriter[T]
Specifies an action to update non-matched rows in the target DataFrame with the provided column assignments when not matched by the source.
Specifies an action to update non-matched rows in the target DataFrame with the provided column assignments when not matched by the source.
- map
A Map of column names to Column expressions representing the updates to be applied.
- returns
The MergeIntoWriter instance with the update action configured.
- def updateAll(): MergeIntoWriter[T]
Specifies an action to update all non-matched rows in the target DataFrame when not matched by the source.
Specifies an action to update all non-matched rows in the target DataFrame when not matched by the source.
- returns
The MergeIntoWriter instance with the update all action configured.