public class DeltaMergeMatchedActionBuilder
extends Object
See DeltaMergeBuilder
for more information.
Constructor and Description |
---|
DeltaMergeMatchedActionBuilder() |
Modifier and Type | Method and Description |
---|---|
DeltaMergeBuilder |
delete()
Delete a matched row from the table.
|
DeltaMergeBuilder |
update(scala.collection.Map<String,org.apache.spark.sql.Column> set)
Update the matched table rows based on the rules defined by
set . |
DeltaMergeBuilder |
update(java.util.Map<String,org.apache.spark.sql.Column> set)
Update a matched table row based on the rules defined by
set . |
DeltaMergeBuilder |
updateAll()
Update all the columns of the matched table row with the values of the
corresponding columns in the source row.
|
DeltaMergeBuilder |
updateExpr(scala.collection.Map<String,String> set)
Update the matched table rows based on the rules defined by
set . |
DeltaMergeBuilder |
updateExpr(java.util.Map<String,String> set)
Update a matched table row based on the rules defined by
set . |
public DeltaMergeBuilder update(scala.collection.Map<String,org.apache.spark.sql.Column> set)
set
.
set
- rules to update a row as a Scala map between target column names and
corresponding update expressions as Column objects.public DeltaMergeBuilder updateExpr(scala.collection.Map<String,String> set)
set
.
set
- rules to update a row as a Scala map between target column names and
corresponding update expressions as SQL formatted strings.public DeltaMergeBuilder update(java.util.Map<String,org.apache.spark.sql.Column> set)
set
.
set
- rules to update a row as a Java map between target column names and
corresponding expressions as Column objects.public DeltaMergeBuilder updateExpr(java.util.Map<String,String> set)
set
.
set
- rules to update a row as a Java map between target column names and
corresponding expressions as SQL formatted strings.public DeltaMergeBuilder updateAll()
public DeltaMergeBuilder delete()