DeltaMergeMatchedActionBuilder

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

scala> :type mergeBuilder
io.delta.tables.DeltaMergeBuilder

val mergeMatchedBuilder = mergeBuilder.whenMatched

scala> :type mergeMatchedBuilder
io.delta.tables.DeltaMergeMatchedActionBuilder

Creating Instance

DeltaMergeMatchedActionBuilder takes the following to be created:

DeltaMergeMatchedActionBuilder is created using apply factory method.

apply Factory Method

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

apply creates a DeltaMergeMatchedActionBuilder (for the arguments given).

apply is used when DeltaMergeBuilder is requested to whenMatched.