Class IdentityCodec.IdentityCompressionOutputStream

  • All Implemented Interfaces:
    Closeable, Flushable, AutoCloseable, org.apache.hadoop.fs.statistics.IOStatisticsSource
    Enclosing class:
    IdentityCodec

    public static class IdentityCodec.IdentityCompressionOutputStream
    extends org.apache.hadoop.io.compress.CompressionOutputStream
    • Constructor Detail

      • IdentityCompressionOutputStream

        public IdentityCompressionOutputStream​(OutputStream out)
    • Method Detail

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