Packages

c

org.apache.spark.sql

WhenNotMatched

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
Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WhenNotMatched
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. val condition: Option[Column]
  2. 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.

  3. 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.

  4. val mergeIntoWriter: MergeIntoWriter[T]
  5. def productElementNames: Iterator[String]
    Definition Classes
    Product