Interface OutputStreamBasedCompactingFileWriter
-
- All Superinterfaces:
CompactingFileWriter
- All Known Implementing Classes:
OutputStreamBasedPartFileWriter,RowWisePartWriter
@Internal public interface OutputStreamBasedCompactingFileWriter extends CompactingFileWriter
The compactors use theOutputStreamBasedCompactingFileWriterto directly write a compacting file as anOutputStream.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.streaming.api.functions.sink.filesystem.CompactingFileWriter
CompactingFileWriter.Type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OutputStreamasOutputStream()Gets the output stream underlying the writer.-
Methods inherited from interface org.apache.flink.streaming.api.functions.sink.filesystem.CompactingFileWriter
closeForCommit
-
-
-
-
Method Detail
-
asOutputStream
OutputStream asOutputStream() throws IOException
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.
-
-