@Internal public interface RecordWiseCompactingFileWriter<IN> extends CompactingFileWriter
RecordWiseCompactingFileWriter
to write elements to a compacting
file.CompactingFileWriter.Type
Modifier and Type | Method and Description |
---|---|
void |
write(IN element)
Write an element to the compacting file.
|
closeForCommit
void write(IN element) throws IOException
element
- the element to be written.IOException
- Thrown if writing the element fails.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.