class DeltaMergeMatchedActionBuilder extends AnyRef
Builder class to specify the actions to perform when a target table row has matched a source row based on the given merge condition and optional match condition.
See DeltaMergeBuilder for more information.
- Since
0.3.0
- Alphabetic
- By Inheritance
- DeltaMergeMatchedActionBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
delete(): DeltaMergeBuilder
Delete a matched row from the table.
Delete a matched row from the table.
- Since
0.3.0
-
def
update(set: Map[String, Column]): DeltaMergeBuilder
Update a matched table row based on the rules defined by
set
.Update a matched table row based on the rules defined by
set
.- set
rules to update a row as a Java map between target column names and corresponding expressions as Column objects.
- Since
0.3.0
-
def
update(set: Map[String, Column]): DeltaMergeBuilder
Update the matched table rows based on the rules defined by
set
.Update the matched table rows based on the rules defined by
set
.- set
rules to update a row as a Scala map between target column names and corresponding update expressions as Column objects.
- Since
0.3.0
-
def
updateAll(): DeltaMergeBuilder
Update all the columns of the matched table row with the values of the corresponding columns in the source row.
Update all the columns of the matched table row with the values of the corresponding columns in the source row.
- Since
0.3.0
-
def
updateExpr(set: Map[String, String]): DeltaMergeBuilder
Update a matched table row based on the rules defined by
set
.Update a matched table row based on the rules defined by
set
.- set
rules to update a row as a Java map between target column names and corresponding expressions as SQL formatted strings.
- Since
0.3.0
-
def
updateExpr(set: Map[String, String]): DeltaMergeBuilder
Update the matched table rows based on the rules defined by
set
.Update the matched table rows based on the rules defined by
set
.- set
rules to update a row as a Scala map between target column names and corresponding update expressions as SQL formatted strings.
- Since
0.3.0