Class ZstdCompressorStream

  • All Implemented Interfaces:
    Closeable, Flushable, AutoCloseable

    public class ZstdCompressorStream
    extends org.apache.hadoop.io.compress.CompressionOutputStream
    • Method Detail

      • write

        public void write​(byte[] b,
                          int off,
                          int len)
                   throws IOException
        Specified by:
        write in class org.apache.hadoop.io.compress.CompressionOutputStream
        Throws:
        IOException
      • finish

        public void finish()
                    throws IOException
        Specified by:
        finish in class org.apache.hadoop.io.compress.CompressionOutputStream
        Throws:
        IOException
      • resetState

        public void resetState()
                        throws IOException
        Specified by:
        resetState in class org.apache.hadoop.io.compress.CompressionOutputStream
        Throws:
        IOException
      • flush

        public void flush()
                   throws IOException
        Specified by:
        flush in interface Flushable
        Overrides:
        flush in class org.apache.hadoop.io.compress.CompressionOutputStream
        Throws:
        IOException