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

#include <compression.h>

Inheritance diagram for kuzu::storage::Uncompressed:
kuzu::storage::CompressionAlg

Public Member Functions

 Uncompressed (const common::LogicalType &logicalType)
 
 Uncompressed (uint8_t numBytesPerValue)
 
 Uncompressed (const Uncompressed &)=default
 
void setValuesFromUncompressed (const uint8_t *srcBuffer, common::offset_t srcOffset, uint8_t *dstBuffer, common::offset_t dstOffset, common::offset_t numValues, const CompressionMetadata &, const common::NullMask *) const final
 
uint64_t compressNextPage (const uint8_t *&srcBuffer, uint64_t numValuesRemaining, uint8_t *dstBuffer, uint64_t dstBufferSize, const struct CompressionMetadata &) const override
 
void decompressFromPage (const uint8_t *srcBuffer, uint64_t srcOffset, uint8_t *dstBuffer, uint64_t dstOffset, uint64_t numValues, const CompressionMetadata &) const override
 
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, const common::LogicalType &logicalType)
 

Protected Attributes

const uint32_t numBytesPerValue
 

Constructor & Destructor Documentation

◆ Uncompressed() [1/3]

kuzu::storage::Uncompressed::Uncompressed ( const common::LogicalType & logicalType)
inlineexplicit

◆ Uncompressed() [2/3]

kuzu::storage::Uncompressed::Uncompressed ( uint8_t numBytesPerValue)
inlineexplicit

◆ Uncompressed() [3/3]

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

Member Function Documentation

◆ compressNextPage()

uint64_t kuzu::storage::Uncompressed::compressNextPage ( const uint8_t *& srcBuffer,
uint64_t numValuesRemaining,
uint8_t * dstBuffer,
uint64_t dstBufferSize,
const struct CompressionMetadata &  ) const
inlineoverridevirtual

◆ decompressFromPage()

void kuzu::storage::Uncompressed::decompressFromPage ( const uint8_t * srcBuffer,
uint64_t srcOffset,
uint8_t * dstBuffer,
uint64_t dstOffset,
uint64_t numValues,
const CompressionMetadata &  ) const
inlineoverridevirtual

◆ getCompressionType()

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

◆ numValues()

static uint64_t kuzu::storage::Uncompressed::numValues ( uint64_t dataSize,
const common::LogicalType & logicalType )
inlinestatic

◆ setValuesFromUncompressed()

void kuzu::storage::Uncompressed::setValuesFromUncompressed ( const uint8_t * srcBuffer,
common::offset_t srcOffset,
uint8_t * dstBuffer,
common::offset_t dstOffset,
common::offset_t numValues,
const CompressionMetadata & ,
const common::NullMask *  ) const
inlinefinalvirtual

Member Data Documentation

◆ numBytesPerValue

const uint32_t kuzu::storage::Uncompressed::numBytesPerValue
protected

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