Package org.apache.iceberg.deletes
Interface DVFileWriter
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
BaseDVFileWriter
A deletion vector file writer.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delete
(String path, long pos, PartitionSpec spec, StructLike partition) Marks a position in a given data file as deleted.result()
Returns a result that contains information about writtenDeleteFile
s.
-
Method Details
-
delete
Marks a position in a given data file as deleted.- Parameters:
path
- the data file pathpos
- the data file positionspec
- the data file partition specpartition
- the data file partition
-
result
DeleteWriteResult result()Returns a result that contains information about writtenDeleteFile
s. The result is valid only after the writer is closed.- Returns:
- the writer result
-