Package io.delta.tables
Class DeltaMergeMatchedActionBuilder
Object
io.delta.tables.DeltaMergeMatchedActionBuilder
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondelete()
Delete a matched row from the table.Update a matched table row based on the rules defined byset
.Update the matched table rows based on the rules defined byset
.Update all the columns of the matched table row with the values of the corresponding columns in the source row.updateExpr
(Map<String, String> set) Update a matched table row based on the rules defined byset
.updateExpr
(scala.collection.Map<String, String> set) Update the matched table rows based on the rules defined byset
.
-
Constructor Details
-
DeltaMergeMatchedActionBuilder
public DeltaMergeMatchedActionBuilder()
-
-
Method Details
-
update
Update the matched table rows based on the rules defined byset
.- Parameters:
set
- rules to update a row as a Scala map between target column names and corresponding update expressions as Column objects.- Returns:
- (undocumented)
- Since:
- 0.3.0
-
updateExpr
Update the matched table rows based on the rules defined byset
.- Parameters:
set
- rules to update a row as a Scala map between target column names and corresponding update expressions as SQL formatted strings.- Returns:
- (undocumented)
- Since:
- 0.3.0
-
update
Update a matched table row based on the rules defined byset
.- Parameters:
set
- rules to update a row as a Java map between target column names and corresponding expressions as Column objects.- Returns:
- (undocumented)
- Since:
- 0.3.0
-
updateExpr
Update a matched table row based on the rules defined byset
.- Parameters:
set
- rules to update a row as a Java map between target column names and corresponding expressions as SQL formatted strings.- Returns:
- (undocumented)
- Since:
- 0.3.0
-
updateAll
Update all the columns of the matched table row with the values of the corresponding columns in the source row.- Returns:
- (undocumented)
- Since:
- 0.3.0
-
delete
Delete a matched row from the table.- Returns:
- (undocumented)
- Since:
- 0.3.0
-