Kùzu C++ API
Loading...
Searching...
No Matches
kuzu::storage::CompressionAlg Class Referenceabstract

#include <compression.h>

Inheritance diagram for kuzu::storage::CompressionAlg:
kuzu::storage::BooleanBitpacking kuzu::storage::ConstantCompression kuzu::storage::IntegerBitpacking< T > kuzu::storage::Uncompressed

Public Member Functions

virtual ~CompressionAlg ()=default
 
virtual void setValuesFromUncompressed (const uint8_t *srcBuffer, common::offset_t srcOffset, uint8_t *dstBuffer, common::offset_t dstOffset, common::offset_t numValues, const CompressionMetadata &metadata, const common::NullMask *nullMask) const =0
 
virtual uint64_t compressNextPage (const uint8_t *&srcBuffer, uint64_t numValuesRemaining, uint8_t *dstBuffer, uint64_t dstBufferSize, const struct CompressionMetadata &metadata) const =0
 
virtual void decompressFromPage (const uint8_t *srcBuffer, uint64_t srcOffset, uint8_t *dstBuffer, uint64_t dstOffset, uint64_t numValues, const CompressionMetadata &metadata) const =0
 
virtual CompressionType getCompressionType () const =0
 

Constructor & Destructor Documentation

◆ ~CompressionAlg()

virtual kuzu::storage::CompressionAlg::~CompressionAlg ( )
virtualdefault

Member Function Documentation

◆ compressNextPage()

virtual uint64_t kuzu::storage::CompressionAlg::compressNextPage ( const uint8_t *& srcBuffer,
uint64_t numValuesRemaining,
uint8_t * dstBuffer,
uint64_t dstBufferSize,
const struct CompressionMetadata & metadata ) const
pure virtual

◆ decompressFromPage()

virtual void kuzu::storage::CompressionAlg::decompressFromPage ( const uint8_t * srcBuffer,
uint64_t srcOffset,
uint8_t * dstBuffer,
uint64_t dstOffset,
uint64_t numValues,
const CompressionMetadata & metadata ) const
pure virtual

◆ getCompressionType()

virtual CompressionType kuzu::storage::CompressionAlg::getCompressionType ( ) const
pure virtual

◆ setValuesFromUncompressed()

virtual void kuzu::storage::CompressionAlg::setValuesFromUncompressed ( const uint8_t * srcBuffer,
common::offset_t srcOffset,
uint8_t * dstBuffer,
common::offset_t dstOffset,
common::offset_t numValues,
const CompressionMetadata & metadata,
const common::NullMask * nullMask ) const
pure virtual

The documentation for this class was generated from the following file: