Kùzu C++ API
Loading...
Searching...
No Matches
kuzu::processor::WarningSourceData Struct Reference

#include <copy_from_error.h>

Public Types

using DataType = std::variant<uint64_t, uint32_t>
 

Public Member Functions

 WarningSourceData ()
 
 WarningSourceData (uint64_t numSourceSpecificValues)
 
template<std::integral... Types>
void dumpTo (uint64_t &blockIdx, uint32_t &offsetInBlock, Types &... vars) const
 
uint64_t getBlockIdx () const
 
uint32_t getOffsetInBlock () const
 

Static Public Member Functions

template<std::integral... Types>
static WarningSourceData constructFrom (uint64_t blockIdx, uint32_t offsetInBlock, Types... newValues)
 
template<DataSource T>
static WarningSourceData constructFromData (const std::vector< T * > &chunks, common::idx_t pos)
 

Public Attributes

std::array< DataType, common::CopyConstants::MAX_NUM_WARNING_DATA_COLUMNSvalues
 
uint64_t numValues
 

Static Public Attributes

static constexpr size_t BLOCK_IDX_IDX = 0
 
static constexpr size_t OFFSET_IN_BLOCK_IDX = 1
 
static constexpr size_t NUM_BLOCK_VALUES = 2
 

Member Typedef Documentation

◆ DataType

using kuzu::processor::WarningSourceData::DataType = std::variant<uint64_t, uint32_t>

Constructor & Destructor Documentation

◆ WarningSourceData() [1/2]

kuzu::processor::WarningSourceData::WarningSourceData ( )
inline

◆ WarningSourceData() [2/2]

kuzu::processor::WarningSourceData::WarningSourceData ( uint64_t numSourceSpecificValues)
explicit

Member Function Documentation

◆ constructFrom()

template<std::integral... Types>
WarningSourceData kuzu::processor::WarningSourceData::constructFrom ( uint64_t blockIdx,
uint32_t offsetInBlock,
Types... newValues )
static

◆ constructFromData()

template<DataSource T>
static WarningSourceData kuzu::processor::WarningSourceData::constructFromData ( const std::vector< T * > & chunks,
common::idx_t pos )
static

◆ dumpTo()

template<std::integral... Types>
void kuzu::processor::WarningSourceData::dumpTo ( uint64_t & blockIdx,
uint32_t & offsetInBlock,
Types &... vars ) const

◆ getBlockIdx()

uint64_t kuzu::processor::WarningSourceData::getBlockIdx ( ) const

◆ getOffsetInBlock()

uint32_t kuzu::processor::WarningSourceData::getOffsetInBlock ( ) const

Member Data Documentation

◆ BLOCK_IDX_IDX

size_t kuzu::processor::WarningSourceData::BLOCK_IDX_IDX = 0
staticconstexpr

◆ NUM_BLOCK_VALUES

size_t kuzu::processor::WarningSourceData::NUM_BLOCK_VALUES = 2
staticconstexpr

◆ numValues

uint64_t kuzu::processor::WarningSourceData::numValues

◆ OFFSET_IN_BLOCK_IDX

size_t kuzu::processor::WarningSourceData::OFFSET_IN_BLOCK_IDX = 1
staticconstexpr

◆ values

std::array<DataType, common::CopyConstants::MAX_NUM_WARNING_DATA_COLUMNS> kuzu::processor::WarningSourceData::values

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