Compress the given buffer and return the compressed data as a new buffer.
Estimation of the data size once compressed.
Collect a value so we can update the compression ratio for this compression algorithm.
Tests whether the compression algorithm supports a specific column type.
The uncompressed size of the input data.
Return compression ratio, smaller scores imply higher compressibility.
Return compression ratio, smaller scores imply higher compressibility. Scores greater than 1.0 indicate that compressed data will take up more space than uncompressed data. This number is used to pick the compression algorithm to apply at runtime.
API for Compression