Skip to content

DeltaMergeNotMatchedActionBuilder

DeltaMergeNotMatchedActionBuilder is a builder interface for DeltaMergeBuilder.whenNotMatched operator.

Creating Instance

DeltaMergeNotMatchedActionBuilder takes the following to be created:

DeltaMergeNotMatchedActionBuilder is created when:

Operators

insert

insert(
  values: Map[String, Column]): DeltaMergeBuilder

insert adds an insert clause (with the values).

insertAll

insertAll(): DeltaMergeBuilder

insertAll requests the DeltaMergeBuilder to add a new DeltaMergeIntoNotMatchedInsertClause (with the notMatchCondition, if specified).

insertExpr

insertExpr(
  values: Map[String, String]): DeltaMergeBuilder

insertExpr adds an insert clause (with the values).

Registering New DeltaMergeIntoNotMatchedInsertClause

addInsertClause(
  setValues: Map[String, Column]): DeltaMergeBuilder

addInsertClause requests the DeltaMergeBuilder to register a new DeltaMergeIntoNotMatchedInsertClause (similarly to insertAll but with the given setValues).


addInsertClause is used when: