Kùzu C++ API
Loading...
Searching...
No Matches
kuzu::storage::BooleanBitpacking Class Reference

#include <compression.h>

Inheritance diagram for kuzu::storage::BooleanBitpacking:
kuzu::storage::CompressionAlg

Public Member Functions

 BooleanBitpacking ()=default
 
 BooleanBitpacking (const BooleanBitpacking &)=default
 
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 final
 
uint64_t compressNextPage (const uint8_t *&srcBuffer, uint64_t numValuesRemaining, uint8_t *dstBuffer, uint64_t dstBufferSize, const struct CompressionMetadata &metadata) const final
 
void decompressFromPage (const uint8_t *srcBuffer, uint64_t srcOffset, uint8_t *dstBuffer, uint64_t dstOffset, uint64_t numValues, const CompressionMetadata &metadata) const final
 
void copyFromPage (const uint8_t *srcBuffer, uint64_t srcOffset, uint8_t *dstBuffer, uint64_t dstOffset, uint64_t numValues, const CompressionMetadata &metadata) const
 
CompressionType getCompressionType () const override
 
- Public Member Functions inherited from kuzu::storage::CompressionAlg
virtual ~CompressionAlg ()=default
 

Static Public Member Functions

static uint64_t numValues (uint64_t dataSize)
 

Constructor & Destructor Documentation

◆ BooleanBitpacking() [1/2]

kuzu::storage::BooleanBitpacking::BooleanBitpacking ( )
default

◆ BooleanBitpacking() [2/2]

kuzu::storage::BooleanBitpacking::BooleanBitpacking ( const BooleanBitpacking & )
default

Member Function Documentation

◆ compressNextPage()

uint64_t kuzu::storage::BooleanBitpacking::compressNextPage ( const uint8_t *& srcBuffer,
uint64_t numValuesRemaining,
uint8_t * dstBuffer,
uint64_t dstBufferSize,
const struct CompressionMetadata & metadata ) const
finalvirtual

◆ copyFromPage()

void kuzu::storage::BooleanBitpacking::copyFromPage ( const uint8_t * srcBuffer,
uint64_t srcOffset,
uint8_t * dstBuffer,
uint64_t dstOffset,
uint64_t numValues,
const CompressionMetadata & metadata ) const

◆ decompressFromPage()

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

◆ getCompressionType()

CompressionType kuzu::storage::BooleanBitpacking::getCompressionType ( ) const
inlineoverridevirtual

◆ numValues()

static uint64_t kuzu::storage::BooleanBitpacking::numValues ( uint64_t dataSize)
inlinestatic

◆ setValuesFromUncompressed()

void kuzu::storage::BooleanBitpacking::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
finalvirtual

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