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:

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:

addUpdateClause

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

addUpdateClause...FIXME

addUpdateClause is used when: