Package io.trino.orc
Class DeflateCompressor
- java.lang.Object
-
- io.trino.orc.DeflateCompressor
-
- All Implemented Interfaces:
io.airlift.compress.Compressor
public class DeflateCompressor extends Object implements io.airlift.compress.Compressor
-
-
Constructor Summary
Constructors Constructor Description DeflateCompressor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompress(byte[] input, int inputOffset, int inputLength, byte[] output, int outputOffset, int maxOutputLength)voidcompress(ByteBuffer input, ByteBuffer output)intmaxCompressedLength(int uncompressedSize)
-
-
-
Method Detail
-
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
public void compress(ByteBuffer input, ByteBuffer output)
- Specified by:
compressin interfaceio.airlift.compress.Compressor
-
-