Package io.delta.tables
Class DeltaMergeNotMatchedBySourceActionBuilder
Object
io.delta.tables.DeltaMergeNotMatchedBySourceActionBuilder
Builder class to specify the actions to perform when a target table row has no match in the
source table based on the given merge condition and optional match condition.
See DeltaMergeBuilder
for more information.
- Since:
- 2.3.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondelete()
Delete an unmatched row from the target table.Update an unmatched target table row based on the rules defined byset
.Update an unmatched target table row based on the rules defined byset
.updateExpr
(Map<String, String> set) Update an unmatched target table row based on the rules defined byset
.updateExpr
(scala.collection.Map<String, String> set) Update an unmatched target table row based on the rules defined byset
.
-
Constructor Details
-
DeltaMergeNotMatchedBySourceActionBuilder
public DeltaMergeNotMatchedBySourceActionBuilder()
-
-
Method Details
-
update
Update an unmatched target table row 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:
- 2.3.0
-
updateExpr
Update an unmatched target table row 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:
- 2.3.0
-
update
Update an unmatched target 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:
- 2.3.0
-
updateExpr
Update an unmatched target 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:
- 2.3.0
-
delete
Delete an unmatched row from the target table.- Returns:
- (undocumented)
- Since:
- 2.3.0
-