public class Lz4CompressionCodec extends AbstractCompressionCodec
CompressionCodec.Factory| Constructor and Description |
|---|
Lz4CompressionCodec() |
| Modifier and Type | Method and Description |
|---|---|
protected ArrowBuf |
doCompress(BufferAllocator allocator,
ArrowBuf uncompressedBuffer)
The method that actually performs the data compression.
|
protected ArrowBuf |
doDecompress(BufferAllocator allocator,
ArrowBuf compressedBuffer)
The method that actually performs the data decompression.
|
CompressionUtil.CodecType |
getCodecType()
Gets the type of the codec.
|
compress, decompress, readUncompressedLength, writeUncompressedLengthprotected ArrowBuf doCompress(BufferAllocator allocator, ArrowBuf uncompressedBuffer)
AbstractCompressionCodecPlease note that this method is not responsible for releasing the uncompressed buffer.
doCompress in class AbstractCompressionCodecprotected ArrowBuf doDecompress(BufferAllocator allocator, ArrowBuf compressedBuffer)
AbstractCompressionCodecPlease note that this method is not responsible for releasing the compressed buffer.
doDecompress in class AbstractCompressionCodecpublic CompressionUtil.CodecType getCodecType()
CompressionCodecCopyright © 2024 The Apache Software Foundation. All rights reserved.