Compress the given buffer and return the compressed data as a new buffer.
Compress the given buffer and return the compressed data as a new buffer.
Estimation of the data size once compressed.
Estimation of the data size once compressed.
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.
Collect a value so we can update the compression ratio for this compression algorithm.
Collect a value so we can update the compression ratio for this compression algorithm.
Tests whether the compression algorithm supports a specific column type.
Tests whether the compression algorithm supports a specific column type.
The uncompressed size of the input data.
The uncompressed size of the input data.
Run-length encoding for columns with a lot of repeated values that occur next to each other.