Kuzu C++ API
Loading...
Searching...
No Matches
kuzu::processor::ResultSet Class Reference

#include <result_set.h>

Public Member Functions

 ResultSet ()
 
 ResultSet (common::idx_t numDataChunks)
 
 ResultSet (ResultSetDescriptor *resultSetDescriptor, storage::MemoryManager *memoryManager)
 
void insert (common::idx_t pos, std::shared_ptr< common::DataChunk > dataChunk)
 
std::shared_ptr< common::DataChunkgetDataChunk (data_chunk_pos_t dataChunkPos)
 
std::shared_ptr< common::ValueVectorgetValueVector (const DataPos &dataPos) const
 
uint64_t getNumTuples (const std::unordered_set< uint32_t > &dataChunksPosInScope)
 
uint64_t getNumTuplesWithoutMultiplicity (const std::unordered_set< uint32_t > &dataChunksPosInScope)
 

Public Attributes

uint64_t multiplicity
 
std::vector< std::shared_ptr< common::DataChunk > > dataChunks
 

Constructor & Destructor Documentation

◆ ResultSet() [1/3]

kuzu::processor::ResultSet::ResultSet ( )
inline

◆ ResultSet() [2/3]

kuzu::processor::ResultSet::ResultSet ( common::idx_t numDataChunks)
inlineexplicit

◆ ResultSet() [3/3]

kuzu::processor::ResultSet::ResultSet ( ResultSetDescriptor * resultSetDescriptor,
storage::MemoryManager * memoryManager )

Member Function Documentation

◆ getDataChunk()

std::shared_ptr< common::DataChunk > kuzu::processor::ResultSet::getDataChunk ( data_chunk_pos_t dataChunkPos)
inline

◆ getNumTuples()

uint64_t kuzu::processor::ResultSet::getNumTuples ( const std::unordered_set< uint32_t > & dataChunksPosInScope)
inline

◆ getNumTuplesWithoutMultiplicity()

uint64_t kuzu::processor::ResultSet::getNumTuplesWithoutMultiplicity ( const std::unordered_set< uint32_t > & dataChunksPosInScope)

◆ getValueVector()

std::shared_ptr< common::ValueVector > kuzu::processor::ResultSet::getValueVector ( const DataPos & dataPos) const
inline

◆ insert()

void kuzu::processor::ResultSet::insert ( common::idx_t pos,
std::shared_ptr< common::DataChunk > dataChunk )
inline

Member Data Documentation

◆ dataChunks

std::vector<std::shared_ptr<common::DataChunk> > kuzu::processor::ResultSet::dataChunks

◆ multiplicity

uint64_t kuzu::processor::ResultSet::multiplicity

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