Kùzu C++ API
Loading...
Searching...
No Matches
kuzu::storage::ConstantCompression Class Referencefinal

#include <compression.h>

Inheritance diagram for kuzu::storage::ConstantCompression:
kuzu::storage::CompressionAlg

Public Member Functions

 ConstantCompression (const common::LogicalType &logicalType)
 
uint64_t compressNextPage (const uint8_t *&, uint64_t, uint8_t *, uint64_t, const struct CompressionMetadata &) const override
 
void decompressFromPage (const uint8_t *, uint64_t, uint8_t *dstBuffer, uint64_t dstOffset, uint64_t numValues, const CompressionMetadata &metadata) const override
 
void copyFromPage (const uint8_t *, uint64_t, uint8_t *dstBuffer, uint64_t dstOffset, uint64_t numValues, const CompressionMetadata &metadata) const
 
void setValuesFromUncompressed (const uint8_t *, common::offset_t, uint8_t *, common::offset_t, common::offset_t, const CompressionMetadata &, const common::NullMask *) const override
 
CompressionType getCompressionType () const override
 
- Public Member Functions inherited from kuzu::storage::CompressionAlg
virtual ~CompressionAlg ()=default
 

Static Public Member Functions

static std::optional< CompressionMetadataanalyze (const ColumnChunkData &chunk)
 
static void decompressValues (uint8_t *dstBuffer, uint64_t dstOffset, uint64_t numValues, common::PhysicalTypeID physicalType, uint32_t numBytesPerValue, const CompressionMetadata &metadata)
 

Constructor & Destructor Documentation

◆ ConstantCompression()

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

Member Function Documentation

◆ analyze()

static std::optional< CompressionMetadata > kuzu::storage::ConstantCompression::analyze ( const ColumnChunkData & chunk)
static

◆ compressNextPage()

uint64_t kuzu::storage::ConstantCompression::compressNextPage ( const uint8_t *& ,
uint64_t ,
uint8_t * ,
uint64_t ,
const struct CompressionMetadata &  ) const
inlineoverridevirtual

◆ copyFromPage()

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

◆ decompressFromPage()

void kuzu::storage::ConstantCompression::decompressFromPage ( const uint8_t * ,
uint64_t ,
uint8_t * dstBuffer,
uint64_t dstOffset,
uint64_t numValues,
const CompressionMetadata & metadata ) const
overridevirtual

◆ decompressValues()

static void kuzu::storage::ConstantCompression::decompressValues ( uint8_t * dstBuffer,
uint64_t dstOffset,
uint64_t numValues,
common::PhysicalTypeID physicalType,
uint32_t numBytesPerValue,
const CompressionMetadata & metadata )
static

◆ getCompressionType()

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

◆ setValuesFromUncompressed()

void kuzu::storage::ConstantCompression::setValuesFromUncompressed ( const uint8_t * ,
common::offset_t ,
uint8_t * ,
common::offset_t ,
common::offset_t ,
const CompressionMetadata & ,
const common::NullMask *  ) const
inlineoverridevirtual

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