Interface OutputStreamBasedCompactingFileWriter

All Superinterfaces:
CompactingFileWriter
All Known Implementing Classes:
OutputStreamBasedPartFileWriter, RowWisePartWriter

@Internal public interface OutputStreamBasedCompactingFileWriter extends CompactingFileWriter
The compactors use the OutputStreamBasedCompactingFileWriter to directly write a compacting file as an OutputStream.
  • Method Details

    • 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.