Interface OutputStreamBasedCompactingFileWriter
- All Superinterfaces:
CompactingFileWriter
- All Known Implementing Classes:
OutputStreamBasedPartFileWriter,RowWisePartWriter
The compactors use the
OutputStreamBasedCompactingFileWriter to directly write a
compacting file as an OutputStream.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.flink.streaming.api.functions.sink.filesystem.CompactingFileWriter
CompactingFileWriter.Type -
Method Summary
Modifier and TypeMethodDescriptionGets the output stream underlying the writer.Methods inherited from interface org.apache.flink.streaming.api.functions.sink.filesystem.CompactingFileWriter
closeForCommit
-
Method Details
-
asOutputStream
Gets the output stream underlying the writer. The close method of the returned stream should never be called.- Returns:
- The output stream to write the compacting file.
- Throws:
IOException- Thrown if acquiring the stream fails.
-