public class DeltaMergeNotMatchedActionBuilder
extends Object
Builder class to specify the actions to perform when a source row has not matched any target Delta table row based on the merge condition, but has matched the additional condition if specified.
See DeltaMergeBuilder
for more information.
Constructor and Description |
---|
DeltaMergeNotMatchedActionBuilder() |
Modifier and Type | Method and Description |
---|---|
DeltaMergeBuilder |
insert(scala.collection.Map<String,org.apache.spark.sql.Column> values)
:: Evolving ::
|
DeltaMergeBuilder |
insert(java.util.Map<String,org.apache.spark.sql.Column> values)
:: Evolving ::
|
DeltaMergeBuilder |
insertAll()
:: Evolving ::
|
DeltaMergeBuilder |
insertExpr(scala.collection.Map<String,String> values)
:: Evolving ::
|
DeltaMergeBuilder |
insertExpr(java.util.Map<String,String> values)
:: Evolving ::
|
public DeltaMergeBuilder insert(scala.collection.Map<String,org.apache.spark.sql.Column> values)
Insert a new row to the target table based on the rules defined by values
.
values
- rules to insert a row as a Scala map between target column names and
corresponding expressions as Column objects.public DeltaMergeBuilder insertExpr(scala.collection.Map<String,String> values)
Insert a new row to the target table based on the rules defined by values
.
values
- rules to insert a row as a Scala map between target column names and
corresponding expressions as SQL formatted strings.public DeltaMergeBuilder insert(java.util.Map<String,org.apache.spark.sql.Column> values)
Insert a new row to the target table based on the rules defined by values
.
values
- rules to insert a row as a Java map between target column names and
corresponding expressions as Column objects.public DeltaMergeBuilder insertExpr(java.util.Map<String,String> values)
Insert a new row to the target table based on the rules defined by values
.
values
- rules to insert a row as a Java map between target column names and
corresponding expressions as SQL formatted strings.
public DeltaMergeBuilder insertAll()
Insert a new target Delta table row by assigning the target columns to the values of the corresponding columns in the source row.