Class Overwrite
java.lang.Object
org.apache.drill.metastore.iceberg.operate.Overwrite
- All Implemented Interfaces:
IcebergOperation
Iceberg overwrite operation: overwrites data with given data file based on given row filter.
-
Constructor Summary
ConstructorDescriptionOverwrite
(org.apache.iceberg.DataFile dataFile, org.apache.iceberg.expressions.Expression filter) -
Method Summary
-
Constructor Details
-
Overwrite
public Overwrite(org.apache.iceberg.DataFile dataFile, org.apache.iceberg.expressions.Expression filter)
-
-
Method Details
-
filter
public org.apache.iceberg.expressions.Expression filter() -
dataFile
public org.apache.iceberg.DataFile dataFile() -
add
public void add(org.apache.iceberg.Transaction transaction) Description copied from interface:IcebergOperation
Adds operation to the given transaction.- Specified by:
add
in interfaceIcebergOperation
- Parameters:
transaction
- current transaction
-