Kùzu C++ API
Loading...
Searching...
No Matches
kuzu::common::DataChunkState Class Reference

#include <data_chunk_state.h>

Public Member Functions

 DataChunkState ()
 
 DataChunkState (sel_t capacity)
 
void initOriginalAndSelectedSize (uint64_t size)
 
bool isFlat () const
 
void setToFlat ()
 
void setToUnflat ()
 
const SelectionVectorgetSelVector () const
 
SelectionVectorgetSelVectorUnsafe ()
 
std::shared_ptr< SelectionVectorgetSelVectorShared ()
 
void setSelVector (std::shared_ptr< SelectionVector > selVector_)
 
void slice (offset_t offset)
 

Static Public Member Functions

static std::shared_ptr< DataChunkStategetSingleValueDataChunkState ()
 

Constructor & Destructor Documentation

◆ DataChunkState() [1/2]

kuzu::common::DataChunkState::DataChunkState ( )
inline

◆ DataChunkState() [2/2]

kuzu::common::DataChunkState::DataChunkState ( sel_t capacity)
inlineexplicit

Member Function Documentation

◆ getSelVector()

const SelectionVector & kuzu::common::DataChunkState::getSelVector ( ) const
inline

◆ getSelVectorShared()

std::shared_ptr< SelectionVector > kuzu::common::DataChunkState::getSelVectorShared ( )
inline

◆ getSelVectorUnsafe()

SelectionVector & kuzu::common::DataChunkState::getSelVectorUnsafe ( )
inline

◆ getSingleValueDataChunkState()

static std::shared_ptr< DataChunkState > kuzu::common::DataChunkState::getSingleValueDataChunkState ( )
static

◆ initOriginalAndSelectedSize()

void kuzu::common::DataChunkState::initOriginalAndSelectedSize ( uint64_t size)
inline

◆ isFlat()

bool kuzu::common::DataChunkState::isFlat ( ) const
inline

◆ setSelVector()

void kuzu::common::DataChunkState::setSelVector ( std::shared_ptr< SelectionVector > selVector_)
inline

◆ setToFlat()

void kuzu::common::DataChunkState::setToFlat ( )
inline

◆ setToUnflat()

void kuzu::common::DataChunkState::setToUnflat ( )
inline

◆ slice()

void kuzu::common::DataChunkState::slice ( offset_t offset)

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