class DeltaMergeMatchedActionBuilder extends AnyRef

Builder class to specify the actions to perform when a target table row has matched a source row based on the given merge condition and optional match condition.

See DeltaMergeBuilder for more information.

Since

0.3.0

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DeltaMergeMatchedActionBuilder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def delete(): DeltaMergeBuilder

    Delete a matched row from the table.

    Delete a matched row from the table.

    Since

    0.3.0

  2. def update(set: Map[String, Column]): DeltaMergeBuilder

    Update a matched table row based on the rules defined by set.

    Update a matched table row based on the rules defined by set.

    set

    rules to update a row as a Java map between target column names and corresponding expressions as Column objects.

    Since

    0.3.0

  3. def update(set: Map[String, Column]): DeltaMergeBuilder

    Update the matched table rows based on the rules defined by set.

    Update the matched table rows based on the rules defined by set.

    set

    rules to update a row as a Scala map between target column names and corresponding update expressions as Column objects.

    Since

    0.3.0

  4. def updateAll(): DeltaMergeBuilder

    Update all the columns of the matched table row with the values of the corresponding columns in the source row.

    Update all the columns of the matched table row with the values of the corresponding columns in the source row.

    Since

    0.3.0

  5. def updateExpr(set: Map[String, String]): DeltaMergeBuilder

    Update a matched table row based on the rules defined by set.

    Update a matched table row based on the rules defined by set.

    set

    rules to update a row as a Java map between target column names and corresponding expressions as SQL formatted strings.

    Since

    0.3.0

  6. def updateExpr(set: Map[String, String]): DeltaMergeBuilder

    Update the matched table rows based on the rules defined by set.

    Update the matched table rows based on the rules defined by set.

    set

    rules to update a row as a Scala map between target column names and corresponding update expressions as SQL formatted strings.

    Since

    0.3.0