Kùzu C++ API
Loading...
Searching...
No Matches
kuzu::storage::CompressionMetadata Struct Reference

#include <compression.h>

Public Member Functions

 CompressionMetadata (StorageValue min, StorageValue max, CompressionType compression)
 
bool isConstant () const
 
uint64_t numValues (uint64_t dataSize, const common::LogicalType &dataType) const
 
bool canUpdateInPlace (const uint8_t *data, uint32_t pos, uint64_t numValues, common::PhysicalTypeID physicalType, const std::optional< common::NullMask > &nullMask=std::nullopt) const
 
bool canAlwaysUpdateInPlace () const
 
std::string toString (const common::PhysicalTypeID physicalType) const
 

Public Attributes

StorageValue min
 
StorageValue max
 
CompressionType compression
 
uint8_t _padding [7] {}
 

Constructor & Destructor Documentation

◆ CompressionMetadata()

kuzu::storage::CompressionMetadata::CompressionMetadata ( StorageValue min,
StorageValue max,
CompressionType compression )
inline

Member Function Documentation

◆ canAlwaysUpdateInPlace()

bool kuzu::storage::CompressionMetadata::canAlwaysUpdateInPlace ( ) const

◆ canUpdateInPlace()

bool kuzu::storage::CompressionMetadata::canUpdateInPlace ( const uint8_t * data,
uint32_t pos,
uint64_t numValues,
common::PhysicalTypeID physicalType,
const std::optional< common::NullMask > & nullMask = std::nullopt ) const

◆ isConstant()

bool kuzu::storage::CompressionMetadata::isConstant ( ) const
inline

◆ numValues()

uint64_t kuzu::storage::CompressionMetadata::numValues ( uint64_t dataSize,
const common::LogicalType & dataType ) const

◆ toString()

std::string kuzu::storage::CompressionMetadata::toString ( const common::PhysicalTypeID physicalType) const

Member Data Documentation

◆ _padding

uint8_t kuzu::storage::CompressionMetadata::_padding[7] {}

◆ compression

CompressionType kuzu::storage::CompressionMetadata::compression

◆ max

StorageValue kuzu::storage::CompressionMetadata::max

◆ min

StorageValue kuzu::storage::CompressionMetadata::min

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