|
| NullChunkData (uint64_t capacity, bool enableCompression, ResidencyState type) |
|
| NullChunkData (bool enableCompression, const ColumnChunkMetadata &metadata) |
|
bool | isNull (common::offset_t pos) const |
|
void | setNull (common::offset_t pos, bool isNull) |
|
bool | mayHaveNull () const |
|
void | resetToEmpty () override |
|
void | resetToNoNull () |
|
void | resetToAllNull () override |
|
void | copyFromBuffer (uint64_t *srcBuffer, uint64_t srcOffset, uint64_t dstOffset, uint64_t numBits, bool invert=false) |
|
void | scan (common::ValueVector &output, common::offset_t offset, common::length_t length, common::sel_t posInOutputVector=0) const override |
|
void | append (ColumnChunkData *other, common::offset_t startPosInOtherChunk, uint32_t numValuesToAppend) override |
|
void | write (const common::ValueVector *vector, common::offset_t offsetInVector, common::offset_t offsetInChunk) override |
|
void | write (ColumnChunkData *srcChunk, common::offset_t srcOffsetInChunk, common::offset_t dstOffsetInChunk, common::offset_t numValuesToCopy) override |
|
void | serialize (common::Serializer &serializer) const override |
|
common::NullMask | getNullMask () const |
|
| BoolChunkData (uint64_t capacity, bool enableCompression, ResidencyState type, bool hasNullChunk) |
|
| BoolChunkData (bool enableCompression, const ColumnChunkMetadata &metadata, bool hasNullData) |
|
void | append (common::ValueVector *vector, const common::SelectionVector &sel) final |
|
void | lookup (common::offset_t offsetInChunk, common::ValueVector &output, common::sel_t posInOutputVector) const override |
|
void | write (ColumnChunkData *chunk, ColumnChunkData *dstOffsets, common::RelMultiplicity multiplicity) final |
|
Public Member Functions inherited from kuzu::storage::ColumnChunkData |
| ColumnChunkData (common::LogicalType dataType, uint64_t capacity, bool enableCompression, ResidencyState residencyState, bool hasNullData) |
|
| ColumnChunkData (common::LogicalType dataType, bool enableCompression, const ColumnChunkMetadata &metadata, bool hasNullData) |
|
virtual | ~ColumnChunkData ()=default |
|
template<typename T > |
T | getValue (common::offset_t pos) const |
|
template<typename T > |
void | setValue (T val, common::offset_t pos) |
|
bool | isNull (common::offset_t pos) const |
|
void | setNullData (std::unique_ptr< NullChunkData > nullData_) |
|
bool | hasNullData () const |
|
NullChunkData * | getNullData () |
|
const NullChunkData & | getNullData () const |
|
std::optional< common::NullMask > | getNullMask () const |
|
std::unique_ptr< NullChunkData > | moveNullData () |
|
common::LogicalType & | getDataType () |
|
const common::LogicalType & | getDataType () const |
|
ResidencyState | getResidencyState () const |
|
bool | isCompressionEnabled () const |
|
ColumnChunkMetadata & | getMetadata () |
|
const ColumnChunkMetadata & | getMetadata () const |
|
void | setMetadata (const ColumnChunkMetadata &metadata_) |
|
virtual ColumnChunkMetadata | getMetadataToFlush () const |
|
virtual void | flush (BMFileHandle &dataFH) |
|
ColumnChunkMetadata | flushBuffer (BMFileHandle *dataFH, common::page_idx_t startPageIdx, const ColumnChunkMetadata &metadata) const |
|
uint64_t | getNumBytesPerValue () const |
|
uint8_t * | getData () const |
|
virtual void | initializeScanState (ChunkState &state) const |
|
virtual void | copy (ColumnChunkData *srcChunk, common::offset_t srcOffsetInChunk, common::offset_t dstOffsetInChunk, common::offset_t numValuesToCopy) |
|
virtual void | setToInMemory () |
|
virtual void | resize (uint64_t newCapacity) |
|
void | populateWithDefaultVal (evaluator::ExpressionEvaluator &defaultEvaluator, uint64_t &numValues_) |
|
virtual void | finalize () |
|
uint64_t | getCapacity () const |
|
virtual uint64_t | getNumValues () const |
|
virtual void | resetNumValuesFromMetadata () |
|
virtual void | setNumValues (uint64_t numValues_) |
|
virtual void | syncNumValues () |
|
virtual bool | numValuesSanityCheck () const |
|
virtual bool | sanityCheck () const |
|
virtual uint64_t | getEstimatedMemoryUsage () const |
|
template<typename TARGET > |
TARGET & | cast () |
|
template<typename TARGET > |
const TARGET & | cast () const |
|
template<> |
void | setValue (bool val, common::offset_t pos) |
|
template<> |
bool | getValue (common::offset_t pos) const |
|