Package io.trino.orc
Class DeflateCompressor
java.lang.Object
io.trino.orc.DeflateCompressor
- All Implemented Interfaces:
io.airlift.compress.Compressor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompress(byte[] input, int inputOffset, int inputLength, byte[] output, int outputOffset, int maxOutputLength) voidcompress(ByteBuffer input, ByteBuffer output) intmaxCompressedLength(int uncompressedSize)
-
Constructor Details
-
DeflateCompressor
public DeflateCompressor()
-
-
Method Details
-
maxCompressedLength
public int maxCompressedLength(int uncompressedSize) - Specified by:
maxCompressedLengthin interfaceio.airlift.compress.Compressor
-
compress
public int compress(byte[] input, int inputOffset, int inputLength, byte[] output, int outputOffset, int maxOutputLength) - Specified by:
compressin interfaceio.airlift.compress.Compressor
-
compress
- Specified by:
compressin interfaceio.airlift.compress.Compressor
-