Package io.delta.tables
Class DeltaMergeNotMatchedActionBuilder
- Object
-
- io.delta.tables.DeltaMergeNotMatchedActionBuilder
-
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.- Since:
- 0.3.0
-
-
Constructor Summary
Constructors Constructor Description DeltaMergeNotMatchedActionBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 byvalues
.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 byvalues
.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.DeltaMergeBuilder
insertExpr(java.util.Map<String,String> values)
Insert a new row to the target table based on the rules defined byvalues
.DeltaMergeBuilder
insertExpr(scala.collection.Map<String,String> values)
Insert a new row to the target table based on the rules defined byvalues
.
-
-
-
Method Detail
-
insert
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 byvalues
.- Parameters:
values
- rules to insert a row as a Scala map between target column names and corresponding expressions as Column objects.- Since:
- 0.3.0
-
insertExpr
public DeltaMergeBuilder insertExpr(scala.collection.Map<String,String> values)
Insert a new row to the target table based on the rules defined byvalues
.- Parameters:
values
- rules to insert a row as a Scala map between target column names and corresponding expressions as SQL formatted strings.- Since:
- 0.3.0
-
insert
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 byvalues
.- Parameters:
values
- rules to insert a row as a Java map between target column names and corresponding expressions as Column objects.- Since:
- 0.3.0
-
insertExpr
public DeltaMergeBuilder insertExpr(java.util.Map<String,String> values)
Insert a new row to the target table based on the rules defined byvalues
.- Parameters:
values
- rules to insert a row as a Java map between target column names and corresponding expressions as SQL formatted strings.- Since:
- 0.3.0
-
insertAll
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.- Since:
- 0.3.0
-
-