Package org.apache.iceberg.deletes
Class BaseDVFileWriter
java.lang.Object
org.apache.iceberg.deletes.BaseDVFileWriter
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- DVFileWriter
- 
Constructor SummaryConstructorsConstructorDescriptionBaseDVFileWriter(OutputFileFactory fileFactory, Function<String, PositionDeleteIndex> loadPreviousDeletes) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()voiddelete(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 writtenDeleteFiles.
- 
Constructor Details- 
BaseDVFileWriterpublic BaseDVFileWriter(OutputFileFactory fileFactory, Function<String, PositionDeleteIndex> loadPreviousDeletes) 
 
- 
- 
Method Details- 
deleteDescription copied from interface:DVFileWriterMarks a position in a given data file as deleted.- Specified by:
- deletein interface- DVFileWriter
- Parameters:
- path- the data file path
- pos- the data file position
- spec- the data file partition spec
- partition- the data file partition
 
- 
resultDescription copied from interface:DVFileWriterReturns a result that contains information about writtenDeleteFiles. The result is valid only after the writer is closed.- Specified by:
- resultin interface- DVFileWriter
- Returns:
- the writer result
 
- 
close- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Throws:
- IOException
 
 
-