public class ZstdCompressorStream
extends org.apache.hadoop.io.compress.CompressionOutputStream
| Constructor and Description |
|---|
ZstdCompressorStream(OutputStream stream,
com.github.luben.zstd.BufferPool pool,
int level,
int workers) |
ZstdCompressorStream(OutputStream stream,
int level,
int workers) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
finish() |
void |
flush() |
void |
resetState() |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
writepublic ZstdCompressorStream(OutputStream stream, int level, int workers) throws IOException
IOExceptionpublic ZstdCompressorStream(OutputStream stream, com.github.luben.zstd.BufferPool pool, int level, int workers) throws IOException
IOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class org.apache.hadoop.io.compress.CompressionOutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void finish()
throws IOException
finish in class org.apache.hadoop.io.compress.CompressionOutputStreamIOExceptionpublic void resetState()
throws IOException
resetState in class org.apache.hadoop.io.compress.CompressionOutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class org.apache.hadoop.io.compress.CompressionOutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.apache.hadoop.io.compress.CompressionOutputStreamIOExceptionCopyright © 2023 The Apache Software Foundation. All rights reserved.