Skip to main content

Module compression

Module compression 

Source

Re-exportsยง

use crate::CompressionType; ๐Ÿ”’
use arrow_buffer::Buffer; ๐Ÿ”’
use arrow_schema::ArrowError; ๐Ÿ”’
use flatbuffers::FlatBufferBuilder; ๐Ÿ”’

Structsยง

DecompressionContext
Additional context that may be needed for decompression.
IpcWriteContext
Additional context that may be needed for compression.

Enumsยง

CompressionCodec
Represents compressing a ipc stream using a particular compression algorithm

Constantsยง

DEFAULT_ZSTD_COMPRESSION_LEVEL ๐Ÿ”’
LENGTH_NO_COMPRESSED_DATA ๐Ÿ”’
LENGTH_OF_PREFIX_DATA ๐Ÿ”’

Functionsยง

compress_lz4 ๐Ÿ”’
compress_zstd ๐Ÿ”’
decompress_lz4 ๐Ÿ”’
decompress_zstd ๐Ÿ”’
read_uncompressed_size ๐Ÿ”’
Get the uncompressed length Notes: LENGTH_NO_COMPRESSED_DATA: indicate that the data that follows is not compressed 0: indicate that there is no data positive number: indicate the uncompressed length for the following data Returns an error if the input buffer is shorter than 8 bytes

Type Aliasesยง

CompressionContextDeprecated
Deprecated alias for IpcWriteContext.