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

#include <deserializer.h>

Public Member Functions

 Deserializer (std::unique_ptr< Reader > reader)
 
bool finished () const
 
template<typename T >
requires std::is_trivially_destructible_v<T> || std::is_same_v<std::string, T>
void deserializeValue (T &value)
 
void read (uint8_t *data, uint64_t size)
 
void validateDebuggingInfo (std::string &value, std::string expectedVal)
 
template<typename T >
void deserializeOptionalValue (std::unique_ptr< T > &value)
 
template<typename T1 , typename T2 >
void deserializeUnorderedMap (std::unordered_map< T1, std::unique_ptr< T2 > > &values)
 
template<typename T >
void deserializeVector (std::vector< T > &values)
 
template<typename T , uint64_t ARRAY_SIZE>
void deserializeArray (std::array< T, ARRAY_SIZE > &values)
 
template<typename T >
void deserializeVectorOfPtrs (std::vector< std::unique_ptr< T > > &values)
 
template<typename T >
void deserializeUnorderedSet (std::unordered_set< T > &values)
 
template<>
void deserializeValue (std::string &value)
 

Constructor & Destructor Documentation

◆ Deserializer()

kuzu::common::Deserializer::Deserializer ( std::unique_ptr< Reader > reader)
inlineexplicit

Member Function Documentation

◆ deserializeArray()

template<typename T , uint64_t ARRAY_SIZE>
void kuzu::common::Deserializer::deserializeArray ( std::array< T, ARRAY_SIZE > & values)
inline

◆ deserializeOptionalValue()

template<typename T >
void kuzu::common::Deserializer::deserializeOptionalValue ( std::unique_ptr< T > & value)
inline

◆ deserializeUnorderedMap()

template<typename T1 , typename T2 >
void kuzu::common::Deserializer::deserializeUnorderedMap ( std::unordered_map< T1, std::unique_ptr< T2 > > & values)
inline

◆ deserializeUnorderedSet()

template<typename T >
void kuzu::common::Deserializer::deserializeUnorderedSet ( std::unordered_set< T > & values)
inline

◆ deserializeValue() [1/2]

template<>
void kuzu::common::Deserializer::deserializeValue ( std::string & value)

◆ deserializeValue() [2/2]

template<typename T >
requires std::is_trivially_destructible_v<T> || std::is_same_v<std::string, T>
void kuzu::common::Deserializer::deserializeValue ( T & value)
inline

◆ deserializeVector()

template<typename T >
void kuzu::common::Deserializer::deserializeVector ( std::vector< T > & values)
inline

◆ deserializeVectorOfPtrs()

template<typename T >
void kuzu::common::Deserializer::deserializeVectorOfPtrs ( std::vector< std::unique_ptr< T > > & values)
inline

◆ finished()

bool kuzu::common::Deserializer::finished ( ) const
inline

◆ read()

void kuzu::common::Deserializer::read ( uint8_t * data,
uint64_t size )
inline

◆ validateDebuggingInfo()

void kuzu::common::Deserializer::validateDebuggingInfo ( std::string & value,
std::string expectedVal )

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