Skip to content

DeltaMergeMatchedActionBuilder

DeltaMergeMatchedActionBuilder is a builder interface for DeltaMergeBuilder.whenMatched operator.

Creating Instance

DeltaMergeMatchedActionBuilder takes the following to be created:

DeltaMergeMatchedActionBuilder is created when DeltaMergeBuilder is requested to whenMatched (using apply factory method).

Operators

delete

delete(): DeltaMergeBuilder

Adds a DeltaMergeIntoDeleteClause (with the matchCondition) to the DeltaMergeBuilder.

update

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

updateAll

updateAll(): DeltaMergeBuilder

updateExpr

updateExpr(
  set: Map[String, String]): DeltaMergeBuilder

Creating DeltaMergeMatchedActionBuilder

apply(
  mergeBuilder: DeltaMergeBuilder,
  matchCondition: Option[Column]): DeltaMergeMatchedActionBuilder

apply creates a DeltaMergeMatchedActionBuilder (for the given parameters).

apply is used when DeltaMergeBuilder is requested to whenMatched.


Last update: 2020-09-20