@Internal public interface CompactingFileWriter
CompactingFileWriterto write a compacting file.
A class should not directly implement the
CompactingFileWriter, but to implement the
RecordWiseCompactingFileWriter, or the
both. If an class implements both interfaces, once the write method of either interface is
called, the write method in the other one should be disabled.
|Modifier and Type||Interface and Description|
Enum defining the types of
|Modifier and Type||Method and Description|
Closes the writer and gets the
InProgressFileWriter.PendingFileRecoverable closeForCommit() throws IOException
InProgressFileWriter.PendingFileRecoverableof the written compacting file.
Bucketuses this to commit the pending file.
IOException- Thrown if an I/O error occurs.
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.