case class WhenNotMatched[T] extends Product with Serializable
A class for defining actions to be taken when no matching rows are found in a DataFrame during a merge operation.
- T
The type of data in the MergeIntoWriter.
- Source
- MergeIntoWriter.scala
- Alphabetic
- By Inheritance
- WhenNotMatched
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- val condition: Option[Column]
- def insert(map: Map[String, Column]): MergeIntoWriter[T]
Specifies an action to insert non-matched rows into the DataFrame with the provided column assignments.
Specifies an action to insert non-matched rows into the DataFrame with the provided column assignments.
- map
A Map of column names to Column expressions representing the values to be inserted.
- returns
The MergeIntoWriter instance with the insert action configured.
- def insertAll(): MergeIntoWriter[T]
Specifies an action to insert all non-matched rows into the DataFrame.
Specifies an action to insert all non-matched rows into the DataFrame.
- returns
The MergeIntoWriter instance with the insert all action configured.
- val mergeIntoWriter: MergeIntoWriter[T]
- def productElementNames: Iterator[String]
- Definition Classes
- Product