Interface RecordWiseCompactingFileWriter<IN>

All Superinterfaces:
CompactingFileWriter
All Known Subinterfaces:
InProgressFileWriter<IN,BucketID>
All Known Implementing Classes:
AbstractPartFileWriter, OutputStreamBasedPartFileWriter, RowWisePartWriter

@Internal public interface RecordWiseCompactingFileWriter<IN> extends CompactingFileWriter
The compactors use the RecordWiseCompactingFileWriter to write elements to a compacting file.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.flink.streaming.api.functions.sink.filesystem.CompactingFileWriter

    CompactingFileWriter.Type
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    write(IN element)
    Write an element to the compacting file.

    Methods inherited from interface org.apache.flink.streaming.api.functions.sink.filesystem.CompactingFileWriter

    closeForCommit
  • Method Details

    • write

      void write(IN element) throws IOException
      Write an element to the compacting file.
      Parameters:
      element - the element to be written.
      Throws:
      IOException - Thrown if writing the element fails.