DeltaMergeMatchedActionBuilder is a merge action builder for DeltaMergeBuilder.whenMatched operator.

scala> :type mergeBuilder

val mergeMatchedBuilder = mergeBuilder.whenMatched

scala> :type mergeMatchedBuilder

Creating Instance

DeltaMergeMatchedActionBuilder takes the following to be created:

DeltaMergeMatchedActionBuilder is created using apply factory method.

apply Factory Method

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

apply creates a DeltaMergeMatchedActionBuilder (for the arguments given).

apply is used when DeltaMergeBuilder is requested to whenMatched.