#include <serializer.h>
|
| Serializer (std::shared_ptr< Writer > writer) |
|
Writer & | getWriter () const |
|
template<typename T >
requires std::is_trivially_destructible<T>::value || std::is_same<std::string, T>::value |
void | serializeValue (const T &value) |
|
template<typename T > |
void | write (const T &value) |
|
void | writeDebuggingInfo (const std::string &value) |
|
void | write (const uint8_t *value, uint64_t len) |
|
template<typename T > |
void | serializeOptionalValue (const std::unique_ptr< T > &value) |
|
template<typename T1 , typename T2 > |
void | serializeUnorderedMap (const std::unordered_map< T1, std::unique_ptr< T2 > > &values) |
|
template<typename T > |
void | serializeVector (const std::vector< T > &values) |
|
template<typename T , uint64_t ARRAY_SIZE> |
void | serializeArray (const std::array< T, ARRAY_SIZE > &values) |
|
template<typename T > |
void | serializeVectorOfPtrs (const std::vector< std::unique_ptr< T > > &values) |
|
template<typename T > |
void | serializeUnorderedSet (const std::unordered_set< T > &values) |
|
template<> |
void | serializeValue (const std::string &value) |
|
◆ Serializer()
kuzu::common::Serializer::Serializer |
( |
std::shared_ptr< Writer > | writer | ) |
|
|
inlineexplicit |
◆ getWriter()
Writer & kuzu::common::Serializer::getWriter |
( |
| ) |
const |
|
inline |
◆ serializeArray()
template<typename T , uint64_t ARRAY_SIZE>
void kuzu::common::Serializer::serializeArray |
( |
const std::array< T, ARRAY_SIZE > & | values | ) |
|
|
inline |
◆ serializeOptionalValue()
template<typename T >
void kuzu::common::Serializer::serializeOptionalValue |
( |
const std::unique_ptr< T > & | value | ) |
|
|
inline |
◆ serializeUnorderedMap()
template<typename T1 , typename T2 >
void kuzu::common::Serializer::serializeUnorderedMap |
( |
const std::unordered_map< T1, std::unique_ptr< T2 > > & | values | ) |
|
|
inline |
◆ serializeUnorderedSet()
template<typename T >
void kuzu::common::Serializer::serializeUnorderedSet |
( |
const std::unordered_set< T > & | values | ) |
|
|
inline |
◆ serializeValue() [1/2]
template<>
void kuzu::common::Serializer::serializeValue |
( |
const std::string & | value | ) |
|
◆ serializeValue() [2/2]
template<typename T >
requires std::is_trivially_destructible<T>::value || std::is_same<std::string, T>::value
void kuzu::common::Serializer::serializeValue |
( |
const T & | value | ) |
|
|
inline |
◆ serializeVector()
template<typename T >
void kuzu::common::Serializer::serializeVector |
( |
const std::vector< T > & | values | ) |
|
|
inline |
◆ serializeVectorOfPtrs()
template<typename T >
void kuzu::common::Serializer::serializeVectorOfPtrs |
( |
const std::vector< std::unique_ptr< T > > & | values | ) |
|
|
inline |
◆ write() [1/2]
template<typename T >
void kuzu::common::Serializer::write |
( |
const T & | value | ) |
|
|
inline |
◆ write() [2/2]
void kuzu::common::Serializer::write |
( |
const uint8_t * | value, |
|
|
uint64_t | len ) |
|
inline |
◆ writeDebuggingInfo()
void kuzu::common::Serializer::writeDebuggingInfo |
( |
const std::string & | value | ) |
|
The documentation for this class was generated from the following file: