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

#include <data_chunk.h>

Public Member Functions

 DataChunk ()
 
 DataChunk (uint32_t numValueVectors)
 
 DataChunk (uint32_t numValueVectors, const std::shared_ptr< DataChunkState > &state)
 
 DELETE_COPY_DEFAULT_MOVE (DataChunk)
 
void insert (uint32_t pos, std::shared_ptr< ValueVector > valueVector)
 
void resetAuxiliaryBuffer ()
 
uint32_t getNumValueVectors () const
 
const ValueVectorgetValueVector (uint64_t valueVectorPos) const
 
ValueVectorgetValueVectorMutable (uint64_t valueVectorPos) const
 

Public Attributes

std::vector< std::shared_ptr< ValueVector > > valueVectors
 
std::shared_ptr< DataChunkStatestate
 

Constructor & Destructor Documentation

◆ DataChunk() [1/3]

kuzu::common::DataChunk::DataChunk ( )
inline

◆ DataChunk() [2/3]

kuzu::common::DataChunk::DataChunk ( uint32_t numValueVectors)
inlineexplicit

◆ DataChunk() [3/3]

kuzu::common::DataChunk::DataChunk ( uint32_t numValueVectors,
const std::shared_ptr< DataChunkState > & state )
inline

Member Function Documentation

◆ DELETE_COPY_DEFAULT_MOVE()

kuzu::common::DataChunk::DELETE_COPY_DEFAULT_MOVE ( DataChunk )

◆ getNumValueVectors()

uint32_t kuzu::common::DataChunk::getNumValueVectors ( ) const
inline

◆ getValueVector()

const ValueVector & kuzu::common::DataChunk::getValueVector ( uint64_t valueVectorPos) const
inline

◆ getValueVectorMutable()

ValueVector & kuzu::common::DataChunk::getValueVectorMutable ( uint64_t valueVectorPos) const
inline

◆ insert()

void kuzu::common::DataChunk::insert ( uint32_t pos,
std::shared_ptr< ValueVector > valueVector )

◆ resetAuxiliaryBuffer()

void kuzu::common::DataChunk::resetAuxiliaryBuffer ( )

Member Data Documentation

◆ state

std::shared_ptr<DataChunkState> kuzu::common::DataChunk::state

◆ valueVectors

std::vector<std::shared_ptr<ValueVector> > kuzu::common::DataChunk::valueVectors

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